Test the necesary validations to every end point of the worlflow resource
| Summary Item | Total | Failed |
|---|---|---|
| Requests | 244 | 0 |
| Prerequest Scripts | 322 | 0 |
| Test Scripts | 562 | 0 |
| Assertions | 457 | 0 |
| Skipped Tests | 0 | - |
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4aed345a-a183-4ae0-aeee-9e49a7a15225 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:40:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 231c0343-a001-4825-b31a-857fcf9c9a9e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
{"schemeName": "REST1", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:40:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2fc0aa7f-3f5b-4fe7-a6cd-d59a5e455a50 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
{"schemeName": "REST Schema", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=E437478495570A8C4B4C7D6041D97EFA; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODUxMzQ0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4NTQsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyNTR9.KPhIwLrj0gED-bHspSzlmtfkKSTrepLZDfkVYVrBox4; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:40:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695328854972,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695328854973,"name":"REST Schema","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response includes name | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0c27968e-6dcc-4e77-872f-296d9258f4c3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
| Cookie | JSESSIONID=E437478495570A8C4B4C7D6041D97EFA; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODUxMzQ0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4NTQsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyNTR9.KPhIwLrj0gED-bHspSzlmtfkKSTrepLZDfkVYVrBox4 |
{"schemeName": "REST1", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695328858045,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"c75f17ad-ca14-45ff-b74b-e36f3c335b98","mandatory":false,"modDate":1695328858045,"name":"REST1","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Scheme already exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 63247a78-08fa-4208-8abc-05101cb656de |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E437478495570A8C4B4C7D6041D97EFA; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODUxMzQ0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4NTQsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyNTR9.KPhIwLrj0gED-bHspSzlmtfkKSTrepLZDfkVYVrBox4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:41:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 825ba6dc-d4d0-4812-a915-7091c8d30ccb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=DEE8D4757EB1E468D0162533B334EB5A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODYyMzc2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4NjUsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyNjV9.Wa5b0Dcx_P1NIHvAunYJ-E4Z8iw-0FBCmcaySiXlhNQ; Path=/; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:05 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveScheme(WorkflowResource.java:3100)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fb158d6c-97af-4f98-8f58-e87d4d1ebdc8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DEE8D4757EB1E468D0162533B334EB5A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODYyMzc2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4NjUsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyNjV9.Wa5b0Dcx_P1NIHvAunYJ-E4Z8iw-0FBCmcaySiXlhNQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:41:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2a68b357-c0d5-49e1-bae0-3f6f0a0afee5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 170 |
{ "schemeId" : "d61a59e1-a49c-46f2-a929-db2b4bfa88b2", "stepName":"REST123", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:41:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a7b7b08f-e829-46f9-b1e7-11e4bf9d00c0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
{ "schemeId" : "2b71231f-cc71-46d0-bd90-7510dd64bc76", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=E008D43835A547AA23F56A3C9046C54A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODY2Nzg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4NjksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyNjl9.2V3AM1q9GrXeeqqJa73d-5MxFprkXE_2ZrtqJK5gXv4; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695328869799,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"875e4cb0-7360-4bf3-a872-04dd3d677aec","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 266fe9bb-5995-4535-9df6-5bd64c6c155b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 171 |
| Cookie | JSESSIONID=E008D43835A547AA23F56A3C9046C54A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODY2Nzg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4NjksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyNjl9.2V3AM1q9GrXeeqqJa73d-5MxFprkXE_2ZrtqJK5gXv4 |
{ "schemeId" : "ad61a59e1-a49c-46f2-a929-db2b4bfa88b2", "stepName":"REST123", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.addStep(WorkflowHelper.java:1038)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.addStep(WorkflowResource.java:1367)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f74887e9-276a-4636-93fa-615cf1f5b0a0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 158 |
| Cookie | JSESSIONID=E008D43835A547AA23F56A3C9046C54A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODY2Nzg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4NjksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyNjl9.2V3AM1q9GrXeeqqJa73d-5MxFprkXE_2ZrtqJK5gXv4 |
{ "schemeId" : "2b71231fcc", "stepName":"Step shorty schema id", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695328873000,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"3290dce5-c5c5-40c9-a843-05cd9b9396c8","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9c14fa63-cbc3-419a-8910-5a36d74688b2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E008D43835A547AA23F56A3C9046C54A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODY2Nzg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4NjksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyNjl9.2V3AM1q9GrXeeqqJa73d-5MxFprkXE_2ZrtqJK5gXv4 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:16 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.addStep(WorkflowResource.java:1363)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 07ff4a7d-4d1b-4b63-b729-8cd108cc38aa |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E008D43835A547AA23F56A3C9046C54A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODY2Nzg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4NjksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyNjl9.2V3AM1q9GrXeeqqJa73d-5MxFprkXE_2ZrtqJK5gXv4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:41:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2fac3989-353e-4a32-9785-8943249cb739 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:41:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 882412f7-887f-46ec-91f9-4e4b76824028 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
{
"stepId": "875e4cb0-7360-4bf3-a872-04dd3d677aec",
"actionName": "saveContent FROM REST NEW",
"schemeId": "2b71231f-cc71-46d0-bd90-7510dd64bc76",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=5B3D45525E8FA165D3D28665A0A280C6; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODc3Mzc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4ODAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyODB9.7ZhiJG5nksg98B4rSjP_cnb4VM1o5Mi7iqFF5AhU60I; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b2b4e5db-0525-4fa0-b0cf-b8bfda4fc912 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 534 |
| Cookie | JSESSIONID=5B3D45525E8FA165D3D28665A0A280C6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODc3Mzc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4ODAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyODB9.7ZhiJG5nksg98B4rSjP_cnb4VM1o5Mi7iqFF5AhU60I |
{
"stepId": "aaee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1947)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1994)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1591)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1630)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1032)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 29c434c0-6e0b-45ef-a125-70d1768af562 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 533 |
| Cookie | JSESSIONID=5B3D45525E8FA165D3D28665A0A280C6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODc3Mzc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4ODAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyODB9.7ZhiJG5nksg98B4rSjP_cnb4VM1o5Mi7iqFF5AhU60I |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "ad61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1870)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1582)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1630)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1032)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fd319fa4-19f8-41a6-9532-b12c074e6c64 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 480 |
| Cookie | JSESSIONID=5B3D45525E8FA165D3D28665A0A280C6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODc3Mzc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4ODAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyODB9.7ZhiJG5nksg98B4rSjP_cnb4VM1o5Mi7iqFF5AhU60I |
{
"stepId": "875e4cb073",
"actionName": "saveContent FROM REST NEW",
"schemeId": "2b71231fcc",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"eb00fce2-4cea-4737-9e33-c18c3733b406","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b1d6aea3-a8cb-4f57-bd51-a0bc2e6517f1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=5B3D45525E8FA165D3D28665A0A280C6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODc3Mzc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4ODAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyODB9.7ZhiJG5nksg98B4rSjP_cnb4VM1o5Mi7iqFF5AhU60I |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:32 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1030)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1d3b839b-b653-438c-8f8b-df4c6332c587 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=5B3D45525E8FA165D3D28665A0A280C6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODc3Mzc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4ODAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyODB9.7ZhiJG5nksg98B4rSjP_cnb4VM1o5Mi7iqFF5AhU60I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:41:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't get workflow data if you don't have credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2840f135-93f2-455c-8495-ff79da8a8994 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:41:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you have the list of schemas
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9ac6623c-050e-4f90-a122-eec593a3373f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=9A8A63EACE5597A456317503DD5ABE9A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODk0MjU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4OTcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyOTd9.IiAy9jnawWwsP701Ln3aBc07k0SxQF-lCEU492BJVM0; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"archived":false,"creationDate":1695328897274,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"c75f17ad-ca14-45ff-b74b-e36f3c335b98","mandatory":false,"modDate":1695328858045,"name":"REST1","system":false},{"archived":false,"creationDate":1695328897274,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695328886879,"name":"REST Schema","system":false},{"archived":false,"creationDate":1695328897274,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695328823264,"name":"System Workflow","system":true}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes exiting Scheme | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7518d3dd-ecbe-45a6-bd6f-c00f4476d43a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=9A8A63EACE5597A456317503DD5ABE9A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODk0MjU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg4OTcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUyOTd9.IiAy9jnawWwsP701Ln3aBc07k0SxQF-lCEU492BJVM0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:41:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't get workflow data if you don't have credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3b958e97-a8b5-460c-9751-818dafdc8637 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:41:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate we return a 401 error in case you try to get shemes info of an unautorized conte type
To test:
Delete permissions to the content type (generic) and add just permissions to admin
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f3e0f6a5-19df-45a7-a2c6-9dc9b712e86a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=B220F50FC1BCFBA9965BE131AE33857D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODk4NTQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MDEsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMDF9.XWmf5Jvr3KqJj2TJ0rRuiJdQQFLQOTLcTfCYremZAe0; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTypeSchemes":[{"archived":false,"creationDate":1695328901577,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695328823264,"name":"System Workflow","system":true}],"schemes":[{"archived":false,"creationDate":1695328901563,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"c75f17ad-ca14-45ff-b74b-e36f3c335b98","mandatory":false,"modDate":1695328858045,"name":"REST1","system":false},{"archived":false,"creationDate":1695328901563,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695328886879,"name":"REST Schema","system":false},{"archived":false,"creationDate":1695328901563,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695328823264,"name":"System Workflow","system":true}]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Content types permissions | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate we return a 401 error in case you try to get shemes info of an unautorized conte type
To test:
Delete permissions to the content type (generic) and add just permissions to admin
| Header Name | Header Value |
|---|---|
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9f70a95f-081e-4b96-999b-461795d057ee |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=B220F50FC1BCFBA9965BE131AE33857D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODk4NTQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MDEsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMDF9.XWmf5Jvr3KqJj2TJ0rRuiJdQQFLQOTLcTfCYremZAe0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findSchemesByContentType(WorkflowHelper.java:1249)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAllSchemesAndSchemesByContentType(WorkflowResource.java:372)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, Content types not found | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you have the list of schemas
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b1dcf51f-a2b7-4450-960b-10fbb26fff2e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=B220F50FC1BCFBA9965BE131AE33857D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODk4NTQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MDEsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMDF9.XWmf5Jvr3KqJj2TJ0rRuiJdQQFLQOTLcTfCYremZAe0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTypeSchemes":[{"archived":false,"creationDate":1695328901577,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695328823264,"name":"System Workflow","system":true}],"schemes":[{"archived":false,"creationDate":1695328901732,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"c75f17ad-ca14-45ff-b74b-e36f3c335b98","mandatory":false,"modDate":1695328858045,"name":"REST1","system":false},{"archived":false,"creationDate":1695328901732,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695328886879,"name":"REST Schema","system":false},{"archived":false,"creationDate":1695328901732,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695328823264,"name":"System Workflow","system":true}]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes system workflow | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 091558c7-77f2-41e9-91d4-aab27a9a552f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=B220F50FC1BCFBA9965BE131AE33857D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4ODk4NTQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MDEsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMDF9.XWmf5Jvr3KqJj2TJ0rRuiJdQQFLQOTLcTfCYremZAe0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:41:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5d72af4b-ec22-4a56-8dd6-eebbde17e991 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:41:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 109a820d-29b5-441d-9a42-2baaeb838893 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=708431CD14D0A0E619F5C6581DBDCC19; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTAyOTcwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MDUsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMDV9.e1dgUcIdgDPjnWH9QlcEz2FtGfqQGsS10z0uowAS1wg; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"creationDate":1695328906001,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"875e4cb0-7360-4bf3-a872-04dd3d677aec","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},{"creationDate":1695328906002,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"3290dce5-c5c5-40c9-a843-05cd9b9396c8","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes existing step | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5084b735-cef3-4f79-8da5-3c62967919e5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=708431CD14D0A0E619F5C6581DBDCC19; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTAyOTcwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MDUsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMDV9.e1dgUcIdgDPjnWH9QlcEz2FtGfqQGsS10z0uowAS1wg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findSteps(WorkflowHelper.java:1355)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findStepsByScheme(WorkflowResource.java:407)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid Response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 42bc1bf8-24a6-473d-8201-92326cd4946b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=708431CD14D0A0E619F5C6581DBDCC19; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTAyOTcwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MDUsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMDV9.e1dgUcIdgDPjnWH9QlcEz2FtGfqQGsS10z0uowAS1wg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"creationDate":1695328906103,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"6cb7e3bd-1710-4eed-8838-d3db60f78f19","myOrder":0,"name":"New","resolved":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1695328906104,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","myOrder":1,"name":"Draft","resolved":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1695328906105,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","myOrder":2,"name":"Published","resolved":true,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1695328906106,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","myOrder":3,"name":"Archived","resolved":true,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes `New` step | 1 | 0 | 0 |
| Includes Draft step | 1 | 0 | 0 |
| Includes Published step | 1 | 0 | 0 |
| Includes Archived step | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 21c758ba-6be1-4f9d-8cec-2cafa092c8e6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=708431CD14D0A0E619F5C6581DBDCC19; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTAyOTcwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MDUsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMDV9.e1dgUcIdgDPjnWH9QlcEz2FtGfqQGsS10z0uowAS1wg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:41:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8f94d02a-9dcf-427d-b856-0d28878479b0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:41:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ca386405-f917-4d64-bac0-805f64e1743e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=9E8A934513A683DA1AE7C93C5070CE3F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTA3MzE5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMTB9.kkRaiY3Yb51ZcbUSmN4MRjXTNRcT5moBkvw3jAcZgMg; Path=/; HttpOnly; SameSite=Lax |
| error-key | Contentlet identified by inode '123' was Not found. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Contentlet identified by inode '123' was Not found.","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Contentlet identified by inode '123' was Not found.\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableActions(WorkflowHelper.java:804)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableActions(WorkflowResource.java:444)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Valid response | 1 | 0 | 0 |
| Status code is 404 | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 96c525ef-c85a-40cd-b99d-fc56bb4dabd0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 143 |
| Cookie | JSESSIONID=9E8A934513A683DA1AE7C93C5070CE3F; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTA3MzE5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMTB9.kkRaiY3Yb51ZcbUSmN4MRjXTNRcT5moBkvw3jAcZgMg |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postmanXXY",
"value": "postmanXXY"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"6deaee1534f051f3ac0e6fe3ba88e38f","inode":"731e5965-1997-450b-961d-9c6020296f14","key":"postmanXXY","languageId":1,"live":true,"locked":false,"modDate":1695328910853,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695328910853,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"postmanXXY","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.731e5965-1997-450b-961d-9c6020296f14","value":"postmanXXY","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d29eb44d-aa35-4b62-9d1a-c1a069bad892 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=9E8A934513A683DA1AE7C93C5070CE3F; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTA3MzE5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMTB9.kkRaiY3Yb51ZcbUSmN4MRjXTNRcT5moBkvw3jAcZgMg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"actionInputs":[],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","UNLOCKED","LOCKED","EDITING","NEW","UNPUBLISHED","LISTING"]},{"actionInputs":[{"body":{},"id":"moveable"}],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"bc477b07-8f84-48d2-85b8-20d07512af4b","name":"Move","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","UNLOCKED","LOCKED","EDITING","LISTING"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b3d3e493-b5fd-45af-b7b9-eff4b5be194e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=9E8A934513A683DA1AE7C93C5070CE3F; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTA3MzE5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMTB9.kkRaiY3Yb51ZcbUSmN4MRjXTNRcT5moBkvw3jAcZgMg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:41:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"actionInputs":[],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","UNLOCKED","LOCKED","EDITING","NEW","UNPUBLISHED","LISTING"]},{"actionInputs":[{"body":{},"id":"moveable"}],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"bc477b07-8f84-48d2-85b8-20d07512af4b","name":"Move","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","UNLOCKED","LOCKED","EDITING","LISTING"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7b5dfb5e-d770-4a4d-8956-968ebc196b3a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=9E8A934513A683DA1AE7C93C5070CE3F; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTA3MzE5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMTB9.kkRaiY3Yb51ZcbUSmN4MRjXTNRcT5moBkvw3jAcZgMg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:41:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8a8a7538-42fd-4fa3-a92c-a3d30d9f2b1f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:41:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7aef8d8e-375a-4038-8fc5-27916c3b168c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=3BF49C699A928184212BA24F7D57B4FC; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTE4NzI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MjEsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMjF9.ZxHYqRE5nkI9IUmMsygqUtSSke1lKZjAeyXUTVItnZc; Path=/; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=b9d89c803) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=b9d89c803)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=b9d89c803)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:833)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAction(WorkflowResource.java:660)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e9e763a4-3c8d-4ad4-a29c-3181372d6291 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3BF49C699A928184212BA24F7D57B4FC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTE4NzI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MjEsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMjF9.ZxHYqRE5nkI9IUmMsygqUtSSke1lKZjAeyXUTVItnZc |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"actionInputs":[{"body":{},"id":"commentable"}],"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes Action Id | 1 | 0 | 0 |
| Includes Action name | 1 | 0 | 0 |
| Includes Scheme Id | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | abc0225f-a948-4879-b854-16af516b9dad |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3BF49C699A928184212BA24F7D57B4FC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTE4NzI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MjEsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMjF9.ZxHYqRE5nkI9IUmMsygqUtSSke1lKZjAeyXUTVItnZc |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"actionInputs":[{"body":{},"id":"commentable"}],"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e9631b2f-2013-43da-8077-542e4182f9ae |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3BF49C699A928184212BA24F7D57B4FC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTE4NzI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MjEsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMjF9.ZxHYqRE5nkI9IUmMsygqUtSSke1lKZjAeyXUTVItnZc |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:42:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1b5a9ae1-f0ef-46c3-bf23-7fa0fc583856 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:42:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cd4f6227-8c27-4024-9b88-229a2bce2779 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=2209488B481B912282CDA07495036145; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTIzMTExLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MjYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMjZ9.g9xBW2gA8EfDTwgTKUgx1csFVOgefCRFTOv3XMpPCbc; Path=/; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=b2b6bae8-2c27-459a-9d35-3702acfb36e5 and stepId=123) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=b2b6bae8-2c27-459a-9d35-3702acfb36e5 and stepId=123)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=b2b6bae8-2c27-459a-9d35-3702acfb36e5 and stepId=123)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:894)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionByStep(WorkflowResource.java:724)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The step does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0422dfac-f398-481a-849c-0834a328b36f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2209488B481B912282CDA07495036145; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTIzMTExLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MjYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMjZ9.g9xBW2gA8EfDTwgTKUgx1csFVOgefCRFTOv3XMpPCbc |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Unable to find Workflow Action (using actionId=123 and stepId=875e4cb0-7360-4bf3-a872-04dd3d677aec) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=123 and stepId=875e4cb0-7360-4bf3-a872-04dd3d677aec)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=123 and stepId=875e4cb0-7360-4bf3-a872-04dd3d677aec)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:894)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionByStep(WorkflowResource.java:724)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f2b8bb3c-8931-4c61-8ee0-f19f13a576a7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2209488B481B912282CDA07495036145; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTIzMTExLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MjYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMjZ9.g9xBW2gA8EfDTwgTKUgx1csFVOgefCRFTOv3XMpPCbc |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ebab0e12-d58b-464e-b070-682eb8eb5116 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2209488B481B912282CDA07495036145; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTIzMTExLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MjYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMjZ9.g9xBW2gA8EfDTwgTKUgx1csFVOgefCRFTOv3XMpPCbc |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ff777f9d-3e24-4e04-8545-b7cc8f33f1fb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2209488B481B912282CDA07495036145; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTIzMTExLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MjYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMjZ9.g9xBW2gA8EfDTwgTKUgx1csFVOgefCRFTOv3XMpPCbc |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:42:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 60664318-7631-4066-a019-cd7c4cc94c88 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:42:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 329ac7ad-e96e-48d0-9b74-8394b16853bd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=403619DE9CD5C1FB2463DA69A15744CF; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTI3NTI4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzB9.IKCE8moF5oFQmFJwWQGen9HGHU3LyJvzvGdrRXad5j4; Path=/; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findActions(WorkflowHelper.java:1319)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionsByStep(WorkflowResource.java:756)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The step does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 93d02ea4-62d5-4eef-8390-8a6ff9e6243a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=403619DE9CD5C1FB2463DA69A15744CF; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTI3NTI4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzB9.IKCE8moF5oFQmFJwWQGen9HGHU3LyJvzvGdrRXad5j4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"eb00fce2-4cea-4737-9e33-c18c3733b406","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Step returned | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | aac77653-f36a-4039-9a4b-e524b0ed5150 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=403619DE9CD5C1FB2463DA69A15744CF; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTI3NTI4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzB9.IKCE8moF5oFQmFJwWQGen9HGHU3LyJvzvGdrRXad5j4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"eb00fce2-4cea-4737-9e33-c18c3733b406","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Step returned | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dfda4259-42b3-49e6-ba6b-5da012b51c55 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=403619DE9CD5C1FB2463DA69A15744CF; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTI3NTI4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzB9.IKCE8moF5oFQmFJwWQGen9HGHU3LyJvzvGdrRXad5j4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:42:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4e8c2e15-b439-4ea1-a22a-947124485840 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:42:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7d015037-550e-4ff1-9780-a59b08b39ead |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=281EB89A6C881F6F4BAD266D769CF176; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTMxOTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzQsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzR9.-nQtnSw_dKlHTMgoaLenwpUsQN51o6CoZcMMOJ4aBt0; Path=/; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findActionsByScheme(WorkflowHelper.java:1448)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionsByScheme(WorkflowResource.java:785)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The scheme does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a42caba7-e801-4141-950c-a6c650b8d064 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=281EB89A6C881F6F4BAD266D769CF176; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTMxOTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzQsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzR9.-nQtnSw_dKlHTMgoaLenwpUsQN51o6CoZcMMOJ4aBt0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"eb00fce2-4cea-4737-9e33-c18c3733b406","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Success request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a02bda8b-8f13-4f02-8730-292fe19b2f38 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=281EB89A6C881F6F4BAD266D769CF176; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTMxOTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzQsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzR9.-nQtnSw_dKlHTMgoaLenwpUsQN51o6CoZcMMOJ4aBt0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"eb00fce2-4cea-4737-9e33-c18c3733b406","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Success request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 01cec4fb-03a9-415f-9b6c-b824be8ecfe9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=281EB89A6C881F6F4BAD266D769CF176; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTMxOTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzQsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzR9.-nQtnSw_dKlHTMgoaLenwpUsQN51o6CoZcMMOJ4aBt0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:42:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 54ae217a-d116-4c9f-92e6-6abe4c5903f3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:42:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e6294156-3069-43d0-b7b0-72b0d4ed4878 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=EF6A3F48CF17A35A6AB7EE06FC1F3E6B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTM2MzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzl9.cJtcscGNMqkGBuhBP2wtboTNH06OJyxxoQbarc4SQuA; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695328880483,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"875e4cb0-7360-4bf3-a872-04dd3d677aec","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e278cff8-bf2f-425a-b2c3-3ebadc2636b2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=EF6A3F48CF17A35A6AB7EE06FC1F3E6B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTM2MzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzl9.cJtcscGNMqkGBuhBP2wtboTNH06OJyxxoQbarc4SQuA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findStepById(WorkflowHelper.java:1064)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findStepById(WorkflowResource.java:1395)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 76e5da2e-c6d1-485b-a26e-04f5179b868f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=EF6A3F48CF17A35A6AB7EE06FC1F3E6B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTM2MzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzl9.cJtcscGNMqkGBuhBP2wtboTNH06OJyxxoQbarc4SQuA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695328880483,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"875e4cb0-7360-4bf3-a872-04dd3d677aec","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6f6288d7-47bf-4117-be61-6de3cf008ca9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=EF6A3F48CF17A35A6AB7EE06FC1F3E6B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTM2MzA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5MzksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzMzl9.cJtcscGNMqkGBuhBP2wtboTNH06OJyxxoQbarc4SQuA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:42:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7f3db16c-db57-4286-b27f-2da40484a080 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:42:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2ce5ce05-713b-43b8-8038-b41b0a580c7a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=7BE35D19A977C373A6D09EC4ADE7B4DE; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTQwNjgwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NDMsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNDN9.YGWKDKz7f1kMC-q1S259FjrhSGfLWVMXSi4PNVUvhr4; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","LOCKED","EDITING","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695328910497,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695328823264,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","UNLOCKED","LOCKED","EDITING","NEW","UNPUBLISHED","LISTING"]},"scheme":{"archived":false,"creationDate":1695328910497,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695328823264,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"777f1c6b-c877-4a37-ba4b-10627316c2cc","name":"Delete","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","ARCHIVED","LOCKED","EDITING","LISTING"]},"scheme":{"archived":false,"creationDate":1695328910497,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695328823264,"name":"System Workflow","system":true}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fa642ce3-f080-4e22-bffb-7829614bdb9c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=7BE35D19A977C373A6D09EC4ADE7B4DE; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTQwNjgwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NDMsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNDN9.YGWKDKz7f1kMC-q1S259FjrhSGfLWVMXSi4PNVUvhr4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableDefaultActionsByContentType(WorkflowHelper.java:1793)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableDefaultActionsByContentType(WorkflowResource.java:3002)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fa84ae38-43d8-404d-99f5-70d074614677 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=7BE35D19A977C373A6D09EC4ADE7B4DE; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTQwNjgwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NDMsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNDN9.YGWKDKz7f1kMC-q1S259FjrhSGfLWVMXSi4PNVUvhr4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:42:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f2be564e-2964-4a30-b3ab-abb879da0c86 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:42:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 112e8abc-90b6-4cb9-8034-70593dfac9a5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=49C0A6CB02174A343A5264DA753BE8DB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTQ0OTc2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NDcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNDd9.iIeZAdoQEqPDsUs8LrjT__qw-ArZdEjVIedCjU8WExY; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695328906000,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695328886879,"name":"REST Schema","system":false}},{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"eb00fce2-4cea-4737-9e33-c18c3733b406","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695328906000,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695328886879,"name":"REST Schema","system":false}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 29f34ede-d0a3-45ac-8419-6dc7dafe2523 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=49C0A6CB02174A343A5264DA753BE8DB; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTQ0OTc2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NDcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNDd9.iIeZAdoQEqPDsUs8LrjT__qw-ArZdEjVIedCjU8WExY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableDefaultActionsBySchemes(WorkflowHelper.java:1835)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableDefaultActionsBySchemes(WorkflowResource.java:3037)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3663e176-e51f-4020-80fd-e7d70d63a92d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=49C0A6CB02174A343A5264DA753BE8DB; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTQ0OTc2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NDcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNDd9.iIeZAdoQEqPDsUs8LrjT__qw-ArZdEjVIedCjU8WExY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695328906000,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695328886879,"name":"REST Schema","system":false}},{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"eb00fce2-4cea-4737-9e33-c18c3733b406","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695328906000,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695328886879,"name":"REST Schema","system":false}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a9b93017-13da-472c-8227-c07c6850ed7c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=49C0A6CB02174A343A5264DA753BE8DB; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTQ0OTc2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NDcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNDd9.iIeZAdoQEqPDsUs8LrjT__qw-ArZdEjVIedCjU8WExY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:42:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d4678b1f-9d67-4fa9-807a-12a1557060a5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:42:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 91009229-3a12-4a89-84e3-7add36518033 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=066C9F292200D3550F99F62DF660BD55; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTQ5MzA3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NTIsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNTJ9.pGHnBEZx2m_aeYuyTePq18RHK9RFxLqADFcWQpvGb8U; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","LOCKED","EDITING","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695328910497,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695328823264,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","UNLOCKED","LOCKED","EDITING","NEW","UNPUBLISHED","LISTING"]},"scheme":{"archived":false,"creationDate":1695328910497,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695328823264,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"777f1c6b-c877-4a37-ba4b-10627316c2cc","name":"Delete","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","ARCHIVED","LOCKED","EDITING","LISTING"]},"scheme":{"archived":false,"creationDate":1695328910497,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695328823264,"name":"System Workflow","system":true}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 41c17daa-26f0-461b-a3d6-60b41d017bb7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=066C9F292200D3550F99F62DF660BD55; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTQ5MzA3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NTIsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNTJ9.pGHnBEZx2m_aeYuyTePq18RHK9RFxLqADFcWQpvGb8U |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findInitialAvailableActionsByContentType(WorkflowHelper.java:1880)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findInitialAvailableActionsByContentType(WorkflowResource.java:3071)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1e2eea8d-9643-4304-8e6f-aeb530bbcb3b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=066C9F292200D3550F99F62DF660BD55; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTQ5MzA3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NTIsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNTJ9.pGHnBEZx2m_aeYuyTePq18RHK9RFxLqADFcWQpvGb8U |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:42:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 56c3ef62-90d2-4d24-8bd1-bf5ca1b293ba |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 516 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:42:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 29704b62-c57e-444c-aacb-9f0186c55a56 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 516 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=2D309034C7D0183D4D74C649444E2530; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTUzNTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNTZ9.3hdQyVtc0C54eV3xavpv_-qxOOPIIyHnf8-me6OuWAE; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"Republish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 52e35c63-14bb-4b9b-a32f-629e9764dcb7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 522 |
| Cookie | JSESSIONID=2D309034C7D0183D4D74C649444E2530; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTUzNTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNTZ9.3hdQyVtc0C54eV3xavpv_-qxOOPIIyHnf8-me6OuWAE |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish-test2",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.updateAction(WorkflowHelper.java:1478)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateAction(WorkflowResource.java:1066)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, Action does not exist | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7e41937a-13b4-4620-90a6-9b37cb7ccbc7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 469 |
| Cookie | JSESSIONID=2D309034C7D0183D4D74C649444E2530; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTUzNTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNTZ9.3hdQyVtc0C54eV3xavpv_-qxOOPIIyHnf8-me6OuWAE |
{
"actionName": "Republish-123fa",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","name":"Republish-123fa","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f3aa7ad1-d4c6-430a-938c-a82c5d439ef6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2D309034C7D0183D4D74C649444E2530; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTUzNTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNTZ9.3hdQyVtc0C54eV3xavpv_-qxOOPIIyHnf8-me6OuWAE |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:42 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateAction(WorkflowResource.java:1064)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 007cb012-2c05-4425-bbeb-304e8c7e3ce1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2D309034C7D0183D4D74C649444E2530; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTUzNTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNTZ9.3hdQyVtc0C54eV3xavpv_-qxOOPIIyHnf8-me6OuWAE |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:42:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1e89feb6-263b-4dc3-905f-fe6157f4f471 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
{ "actionId": "777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:42:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d1e435f5-2a14-484c-8442-d4b6a0b4f4d0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
{ "actionId": "b2b6bae8-2c27-459a-9d35-3702acfb36e5" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=D5B646913F331B6CE560B31D42A25009; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTY0MjU0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNjd9.4mxx012Z_xWCCjD8d-_if-DUQiURrC1Z-l-rQgk7be0; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:42:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 44d33879-7e3a-4c0c-8c38-ac6160d0af5f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
| Cookie | JSESSIONID=D5B646913F331B6CE560B31D42A25009; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTY0MjU0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNjd9.4mxx012Z_xWCCjD8d-_if-DUQiURrC1Z-l-rQgk7be0 |
{ "actionId": "777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1947)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveActionToStep(WorkflowHelper.java:1734)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1099)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | eb09da7b-214b-4e5e-b58a-fe0ece38d69a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 55 |
| Cookie | JSESSIONID=D5B646913F331B6CE560B31D42A25009; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTY0MjU0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNjd9.4mxx012Z_xWCCjD8d-_if-DUQiURrC1Z-l-rQgk7be0 |
{ "actionId": "a777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1944)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveActionToStep(WorkflowHelper.java:1734)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1099)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6e86938c-4265-46ec-a41e-06224f709d44 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 28 |
| Cookie | JSESSIONID=D5B646913F331B6CE560B31D42A25009; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTY0MjU0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNjd9.4mxx012Z_xWCCjD8d-_if-DUQiURrC1Z-l-rQgk7be0 |
{ "actionId": "b2b6bae82c" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:42:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fae61719-8862-4ee8-ade5-58c3b45b10bd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=D5B646913F331B6CE560B31D42A25009; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTY0MjU0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNjd9.4mxx012Z_xWCCjD8d-_if-DUQiURrC1Z-l-rQgk7be0 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:42:53 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1096)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8f53b548-ab5a-4058-972f-4454b3fe7e3a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=D5B646913F331B6CE560B31D42A25009; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTY0MjU0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNjd9.4mxx012Z_xWCCjD8d-_if-DUQiURrC1Z-l-rQgk7be0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:42:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't import schemes without credentials
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4df8ef99-5594-4957-b6e4-2858d155c75c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 4552 |
{
"workflowObject": {
"schemes": [
{
"creationDate": 1523640559394,
"name": "Test1",
"description": "",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1523640423771,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "01d5d41a-007e-463d-a5b5-c35ea27b1a30",
"creationDate": 1523643857447,
"name": "Step1",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"creationDate": 1523643857447,
"name": "step2",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "81522b66-221b-4496-aec6-0e4c484973f7",
"name": "Save it",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"condition": "",
"nextStep": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"LOCKED",
"NEW",
"UNLOCKED"
]
},
{
"id": "687c0729-95fe-4e1d-b37c-e9f70615df23",
"name": "TEst",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"LOCKED",
"UNLOCKED"
]
}
],
"actionSteps": [
{
"stepId": "01d5d41a-007e-463d-a5b5-c35ea27b1a30",
"actionId": "81522b66-221b-4496-aec6-0e4c484973f7",
"actionOrder": "0"
},
{
"stepId": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"actionId": "687c0729-95fe-4e1d-b37c-e9f70615df23",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "2298b780-e1d3-4916-b981-e22fd5553086",
"actionId": "81522b66-221b-4496-aec6-0e4c484973f7",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"nextStep": null,
"howTo": "This actionlet will checkin the content.",
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:42:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, Invalid Credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 41fbbc03-9549-4cc5-a71a-9d5c7acabf97 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 12065 |
{
"workflowObject": {
"version": "1.0",
"schemes": [
{
"id": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"creationDate": 1527632337579,
"name": "WF_Import_AsAdmin",
"description": "REST_1",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1527632329252,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "4ec41c51-4006-4713-a28d-d42a719934ac",
"creationDate": 1527632495697,
"name": "Step1",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"creationDate": 1527632495698,
"name": "Step2",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "a0f9a62c-182a-4571-b136-6a807550e597",
"creationDate": 1527632495699,
"name": "Step3",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 2,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "09d794cb-c13a-4379-9553-cdef3842d98c",
"creationDate": 1527632495700,
"name": "Step4",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 3,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "09d794cb-c13a-4379-9553-cdef3842d98c",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "a0f9a62c-182a-4571-b136-6a807550e597",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"NEW",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Un-Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"UNLOCKED",
"LOCKED",
"ARCHIVED"
]
},
{
"id": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Unpublish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNLOCKED",
"LOCKED",
"PUBLISHED"
]
}
],
"actionSteps": [
{
"stepId": "4ec41c51-4006-4713-a28d-d42a719934ac",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"actionOrder": "1"
},
{
"stepId": "a0f9a62c-182a-4571-b136-6a807550e597",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"actionOrder": "0"
},
{
"stepId": "09d794cb-c13a-4379-9553-cdef3842d98c",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "889a58e3-2c22-4164-b3c1-62fbf93b5949",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet",
"actionlet": {
"name": "Archive content",
"parameters": null,
"howTo": "This actionlet will archive the content.",
"localizedName": "Archive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet.howTo"
}
},
{
"id": "51610a9a-9be6-489b-ba75-336bf632fc13",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
},
{
"id": "f52163e8-c4a1-4862-be40-0c530cd8f154",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"howTo": "This actionlet will checkin the content.",
"nextStep": null,
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
},
{
"id": "789b3b43-0b19-40df-b5e0-e7e161dd1f39",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Unarchive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet",
"actionlet": {
"name": "Unarchive content",
"parameters": null,
"howTo": "This actionlet will un archive the content and return it to a working state",
"nextStep": null,
"localizedName": "Unarchive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet.howTo"
}
},
{
"id": "700330ab-8974-40d5-9131-67aa05731b48",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=36F9F6F8108CD82865C3B49E3A2E1568; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTc0ODc1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NzcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNzd9.NT96p3AdKYaV_eaWgyLWi2MdxFbXEXheXcW7Lv8rI10; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:43:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"OK","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f1c82965-01dd-43bf-8dc1-fb4ff491f3ab |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 12065 |
| Cookie | JSESSIONID=36F9F6F8108CD82865C3B49E3A2E1568; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTc0ODc1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NzcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNzd9.NT96p3AdKYaV_eaWgyLWi2MdxFbXEXheXcW7Lv8rI10 |
{
"workflowObject": {
"version": "1.0",
"schemes": [
{
"id": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"creationDate": 1527632337579,
"name": "WF_Import_AsAdmin",
"description": "REST_1",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1527632329252,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "4ec41c51-4006-4713-a28d-d42a719934ac",
"creationDate": 1527632495697,
"name": "Step1",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"creationDate": 1527632495698,
"name": "Step2",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "a0f9a62c-182a-4571-b136-6a807550e597",
"creationDate": 1527632495699,
"name": "Step3",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 2,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "09d794cb-c13a-4379-9553-cdef3842d98c",
"creationDate": 1527632495700,
"name": "Step4",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 3,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "09d794cb-c13a-4379-9553-cdef3842d98c",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "a0f9a62c-182a-4571-b136-6a807550e597",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"NEW",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Un-Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"UNLOCKED",
"LOCKED",
"ARCHIVED"
]
},
{
"id": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Unpublish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNLOCKED",
"LOCKED",
"PUBLISHED"
]
}
],
"actionSteps": [
{
"stepId": "4ec41c51-4006-4713-a28d-d42a719934ac",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"actionOrder": "1"
},
{
"stepId": "a0f9a62c-182a-4571-b136-6a807550e597",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"actionOrder": "0"
},
{
"stepId": "09d794cb-c13a-4379-9553-cdef3842d98c",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "889a58e3-2c22-4164-b3c1-62fbf93b5949",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet",
"actionlet": {
"name": "Archive content",
"parameters": null,
"howTo": "This actionlet will archive the content.",
"localizedName": "Archive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet.howTo"
}
},
{
"id": "51610a9a-9be6-489b-ba75-336bf632fc13",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
},
{
"id": "f52163e8-c4a1-4862-be40-0c530cd8f154",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"howTo": "This actionlet will checkin the content.",
"nextStep": null,
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
},
{
"id": "789b3b43-0b19-40df-b5e0-e7e161dd1f39",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Unarchive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet",
"actionlet": {
"name": "Unarchive content",
"parameters": null,
"howTo": "This actionlet will un archive the content and return it to a working state",
"nextStep": null,
"localizedName": "Unarchive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet.howTo"
}
},
{
"id": "700330ab-8974-40d5-9131-67aa05731b48",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:00 GMT |
| Connection | close |
{"message":"Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed.","stacktrace":{"buffer":"com.dotmarketing.exception.AlreadyExistException: Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed.\n\tat com.dotcms.workflow.helper.WorkflowHelper.checkIfSchemeExists(WorkflowHelper.java:772)\n\tat com.dotcms.workflow.helper.WorkflowHelper.importScheme(WorkflowHelper.java:602)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.importScheme(WorkflowResource.java:2875)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Already existing id | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as limited user if you have permissions to the workflow portlet
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 64e41759-721e-4625-8f35-005b0929fc0e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=36F9F6F8108CD82865C3B49E3A2E1568; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTc0ODc1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NzcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNzd9.NT96p3AdKYaV_eaWgyLWi2MdxFbXEXheXcW7Lv8rI10 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:00 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.importScheme(WorkflowResource.java:2861)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f369aa50-248e-41b8-a6aa-615dea644a7c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 4671 |
| Cookie | JSESSIONID=36F9F6F8108CD82865C3B49E3A2E1568; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTc0ODc1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NzcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNzd9.NT96p3AdKYaV_eaWgyLWi2MdxFbXEXheXcW7Lv8rI10 |
{
"workflowObject": {
"actionClassParams": [
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "2163cb23-8b9a-406a-b2fa-7beecd5c63b0",
"key": "emailSubject",
"value": "subject"
},
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "f98771e9-ca5c-438a-a23b-85594b92af45",
"key": "emailBody",
"value": "msg"
},
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "d831815e-f9c4-4338-956f-2e8b9e0e371b",
"key": "isHtml",
"value": "true"
}
],
"actionClasses": [
{
"actionId": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"actionlet": {
"actionClass": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet",
"howTo": "This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo",
"localizedName": "Notify Assignee",
"name": "Notify Assignee",
"nextStep": null,
"parameters": [
{
"defaultValue": "",
"displayName": "Email Subject",
"key": "emailSubject",
"required": false
},
{
"defaultValue": null,
"displayName": "Email Message",
"key": "emailBody",
"required": false
},
{
"defaultValue": "true",
"displayName": "Is Html?",
"key": "isHtml",
"required": false
}
]
},
"clazz": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet",
"id": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"name": "Notify Assignee",
"order": 0
}
],
"actionSteps": [
{
"actionId": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"actionOrder": "0",
"stepId": "2ad8291f-eee4-4ce7-ab99-1b2186ef4dec"
}
],
"actions": [
{
"assignable": false,
"commentable": false,
"condition": "",
"icon": "workflowIcon",
"id": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"name": "test",
"nextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"nextStep": "currentstep",
"nextStepCurrentStep": true,
"order": 0,
"owner": null,
"roleHierarchyForAssign": false,
"schemeId": "8760ea91-9912-456c-b719-7c63e81fa981",
"showOn": []
}
],
"schemeSystemActionWorkflowActionMappings": [],
"schemes": [
{
"archived": false,
"creationDate": 1623256714100,
"defaultScheme": false,
"description": "",
"entryActionId": null,
"id": "8760ea91-9912-456c-b719-7c63e81fa981",
"mandatory": false,
"modDate": 1623203259556,
"name": "Test",
"system": false
}
],
"steps": [
{
"creationDate": 1623256717104,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0,
"id": "2ad8291f-eee4-4ce7-ab99-1b2186ef4dec",
"myOrder": 0,
"name": "step1",
"resolved": false,
"schemeId": "8760ea91-9912-456c-b719-7c63e81fa981"
}
],
"version": "1.0"
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:43:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"OK","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d5e38f83-7ff2-46ef-8012-bc2ccd0f0de2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 34 |
| Cookie | JSESSIONID=36F9F6F8108CD82865C3B49E3A2E1568; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTc0ODc1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NzcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNzd9.NT96p3AdKYaV_eaWgyLWi2MdxFbXEXheXcW7Lv8rI10 |
{
"name": "Copy Workflow"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695328984196,"defaultScheme":false,"description":"","entryActionId":null,"id":"c3bd54f7-18bd-47f5-a9a0-ea5dcb6336cd","mandatory":false,"modDate":1695328984196,"name":"Copy Workflow","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 631d407b-264c-4017-a37b-3098ce783c98 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=36F9F6F8108CD82865C3B49E3A2E1568; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTc0ODc1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5NzcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzNzd9.NT96p3AdKYaV_eaWgyLWi2MdxFbXEXheXcW7Lv8rI10 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:43:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't export without credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2bc13ef9-1657-47b5-8233-8aeac4e5c32e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:43:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, Invalid credentials | 1 | 0 | 0 |
| Correct response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can export schemes as admin user
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b440a53b-5925-4f56-8dd0-ad81dd6664de |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=014E0B3ADE5693559CFD6E7B1E224C12; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTg4NTExLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5OTEsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzOTF9.Di9Z1jP2pkWU3vFhTR4M0ouemc-Pl6YaeSU2OmlVV4s; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"permissions":[],"workflowObject":{"actionClassParams":[{"actionClassId":"b2b9aaf1-1e09-422c-b041-074dda95e2f9","id":null,"key":"emailSubject","value":null},{"actionClassId":"b2b9aaf1-1e09-422c-b041-074dda95e2f9","id":null,"key":"emailBody","value":null},{"actionClassId":"b2b9aaf1-1e09-422c-b041-074dda95e2f9","id":null,"key":"isHtml","value":"true"}],"actionClasses":[{"actionId":"eb00fce2-4cea-4737-9e33-c18c3733b406","actionlet":{"actionClass":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","howTo":"This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ","localizedHowto":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo","localizedName":"Notify Assignee","name":"Notify Assignee","nextStep":null,"parameters":[{"defaultValue":"","displayName":"Email Subject","key":"emailSubject","required":false},{"defaultValue":null,"displayName":"Email Message","key":"emailBody","required":false},{"defaultValue":"true","displayName":"Is Html?","key":"isHtml","required":false}]},"clazz":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","id":"b2b9aaf1-1e09-422c-b041-074dda95e2f9","name":"Notify Assignee","order":0}],"actionSteps":[{"actionId":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","actionOrder":"0","stepId":"875e4cb0-7360-4bf3-a872-04dd3d677aec"},{"actionId":"eb00fce2-4cea-4737-9e33-c18c3733b406","actionOrder":"1","stepId":"875e4cb0-7360-4bf3-a872-04dd3d677aec"}],"actions":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"eb00fce2-4cea-4737-9e33-c18c3733b406","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]}],"schemeSystemActionWorkflowActionMappings":[],"schemes":[{"archived":false,"creationDate":1695328991528,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695328970419,"name":"REST Schema","system":false}],"steps":[{"creationDate":1695328991532,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"875e4cb0-7360-4bf3-a872-04dd3d677aec","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},{"creationDate":1695328991533,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"3290dce5-c5c5-40c9-a843-05cd9b9396c8","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"}],"version":"1.0"}},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes scheme | 1 | 0 | 0 |
| Includes step | 1 | 0 | 0 |
| Includes action | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can export schemes as admin user
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6e380913-b956-4818-89c0-8505745a2145 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=014E0B3ADE5693559CFD6E7B1E224C12; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTg4NTExLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5OTEsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzOTF9.Di9Z1jP2pkWU3vFhTR4M0ouemc-Pl6YaeSU2OmlVV4s |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"permissions":[],"workflowObject":{"actionClassParams":[{"actionClassId":"b2b9aaf1-1e09-422c-b041-074dda95e2f9","id":null,"key":"emailSubject","value":null},{"actionClassId":"b2b9aaf1-1e09-422c-b041-074dda95e2f9","id":null,"key":"emailBody","value":null},{"actionClassId":"b2b9aaf1-1e09-422c-b041-074dda95e2f9","id":null,"key":"isHtml","value":"true"}],"actionClasses":[{"actionId":"eb00fce2-4cea-4737-9e33-c18c3733b406","actionlet":{"actionClass":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","howTo":"This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ","localizedHowto":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo","localizedName":"Notify Assignee","name":"Notify Assignee","nextStep":null,"parameters":[{"defaultValue":"","displayName":"Email Subject","key":"emailSubject","required":false},{"defaultValue":null,"displayName":"Email Message","key":"emailBody","required":false},{"defaultValue":"true","displayName":"Is Html?","key":"isHtml","required":false}]},"clazz":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","id":"b2b9aaf1-1e09-422c-b041-074dda95e2f9","name":"Notify Assignee","order":0}],"actionSteps":[{"actionId":"b2b6bae8-2c27-459a-9d35-3702acfb36e5","actionOrder":"0","stepId":"875e4cb0-7360-4bf3-a872-04dd3d677aec"},{"actionId":"eb00fce2-4cea-4737-9e33-c18c3733b406","actionOrder":"1","stepId":"875e4cb0-7360-4bf3-a872-04dd3d677aec"}],"actions":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"eb00fce2-4cea-4737-9e33-c18c3733b406","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]}],"schemeSystemActionWorkflowActionMappings":[],"schemes":[{"archived":false,"creationDate":1695328991528,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695328970419,"name":"REST Schema","system":false}],"steps":[{"creationDate":1695328991610,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"875e4cb0-7360-4bf3-a872-04dd3d677aec","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},{"creationDate":1695328991611,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"3290dce5-c5c5-40c9-a843-05cd9b9396c8","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"}],"version":"1.0"}},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes scheme | 1 | 0 | 0 |
| Includes step | 1 | 0 | 0 |
| Includes action | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 155cde3f-c88d-4f0f-b109-c69e6998a73e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=014E0B3ADE5693559CFD6E7B1E224C12; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTg4NTExLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5OTEsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzOTF9.Di9Z1jP2pkWU3vFhTR4M0ouemc-Pl6YaeSU2OmlVV4s |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:43:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9b2e32a1-4fbf-454f-a1e5-0bc0cb142e3c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:43:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 24475b42-1969-41a1-94ae-4d15f69aaab0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 142 |
{ "stepOrder":5, "stepName":"REST step UPDATED", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=3493C4E511522A5DAD026B3F93FD01E4; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTkyODM0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5OTUsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzOTV9.qWFN5eM7Q69XTFIu7KqCnsvoIOmOJd22ZYVYN7B2mqM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695328880483,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"875e4cb0-7360-4bf3-a872-04dd3d677aec","myOrder":1,"name":"REST step UPDATED","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4c019972-cadb-448d-847e-c12535632213 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 129 |
| Cookie | JSESSIONID=3493C4E511522A5DAD026B3F93FD01E4; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTkyODM0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5OTUsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzOTV9.qWFN5eM7Q69XTFIu7KqCnsvoIOmOJd22ZYVYN7B2mqM |
{ "stepOrder":5, "stepName":"REST", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.updateStep(WorkflowHelper.java:1082)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateStep(WorkflowResource.java:1337)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9802066f-1523-498a-89ca-b111a67fe230 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 148 |
| Cookie | JSESSIONID=3493C4E511522A5DAD026B3F93FD01E4; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTkyODM0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5OTUsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzOTV9.qWFN5eM7Q69XTFIu7KqCnsvoIOmOJd22ZYVYN7B2mqM |
{ "stepOrder":5, "stepName":"REST step Updated again", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695328998958,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"875e4cb0-7360-4bf3-a872-04dd3d677aec","myOrder":1,"name":"REST step Updated again","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ad04e58f-3a28-4e7d-9d1b-de97ff3ebd4e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3493C4E511522A5DAD026B3F93FD01E4; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTkyODM0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5OTUsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzOTV9.qWFN5eM7Q69XTFIu7KqCnsvoIOmOJd22ZYVYN7B2mqM |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:21 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateStep(WorkflowResource.java:1336)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bb75e995-ee53-4b82-9023-1c9a8ce1a65f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3493C4E511522A5DAD026B3F93FD01E4; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI4OTkyODM0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjg5OTUsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTUzOTV9.qWFN5eM7Q69XTFIu7KqCnsvoIOmOJd22ZYVYN7B2mqM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:43:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7777c11b-f877-42a9-9104-91cd255b38ca |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:43:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 18d94708-d513-48d4-b8f6-8cb9e8ddd6ce |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=EA2A9878351F14E704EA901E7FFD794C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDAzNDY5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMDYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0MDZ9.q7otGUT8D2h-utskgrhbHKLClJe-kvRMBKA02r_pnNM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:43:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0eb76128-0277-464c-afa1-60383e24cfe4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=EA2A9878351F14E704EA901E7FFD794C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDAzNDY5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMDYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0MDZ9.q7otGUT8D2h-utskgrhbHKLClJe-kvRMBKA02r_pnNM |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderStep(WorkflowHelper.java:989)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderStep(WorkflowResource.java:1306)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8d442275-06c9-45b4-89ee-7eb354cd3e78 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=EA2A9878351F14E704EA901E7FFD794C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDAzNDY5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMDYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0MDZ9.q7otGUT8D2h-utskgrhbHKLClJe-kvRMBKA02r_pnNM |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:43:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9567271c-c8e6-45aa-8412-896176cc39dd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=EA2A9878351F14E704EA901E7FFD794C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDAzNDY5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMDYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0MDZ9.q7otGUT8D2h-utskgrhbHKLClJe-kvRMBKA02r_pnNM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:43:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 495a79e1-67b1-44f1-a9c8-9e9bff667422 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
{"schemeName": "REST2", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:43:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 75c01724-59d1-4f8e-9307-22821053cf69 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 107 |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=C78A467D78EBCB5068761FF92382E12C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDE0MDUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMTcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0MTd9.YoRDPNZqhb9kD6NaaQG8-d155eVOzrm2iDEc53sGZ1M; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695329017063,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695329017068,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c6a2fb65-d498-45ed-8d4c-bcb5fbdd1ddf |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 115 |
| Cookie | JSESSIONID=C78A467D78EBCB5068761FF92382E12C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDE0MDUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMTcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0MTd9.YoRDPNZqhb9kD6NaaQG8-d155eVOzrm2iDEc53sGZ1M |
{"schemeName": "Default Scheme Updated from REST", "schemeDescription": "AutomaticTest", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveOrUpdate(WorkflowHelper.java:1930)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateScheme(WorkflowResource.java:3132)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveOrUpdate(WorkflowHelper.java:1926)\n\t... 101 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2fa9487f-9b90-4ea2-9077-14b9a3bc9e38 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 113 |
| Cookie | JSESSIONID=C78A467D78EBCB5068761FF92382E12C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDE0MDUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMTcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0MTd9.YoRDPNZqhb9kD6NaaQG8-d155eVOzrm2iDEc53sGZ1M |
{"schemeName": "WF_Import_AsAdmin_edited_Shorty", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695329020145,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695329020149,"name":"WF_Import_AsAdmin_edited_Shorty","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 01edef90-09f0-4826-8931-061577247e15 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C78A467D78EBCB5068761FF92382E12C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDE0MDUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMTcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0MTd9.YoRDPNZqhb9kD6NaaQG8-d155eVOzrm2iDEc53sGZ1M |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:43 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateScheme(WorkflowResource.java:3130)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a4b62e1a-2989-46c3-8cd6-04dec2cffa06 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C78A467D78EBCB5068761FF92382E12C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDE0MDUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMTcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0MTd9.YoRDPNZqhb9kD6NaaQG8-d155eVOzrm2iDEc53sGZ1M |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:43:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 60845f88-ca92-46b3-9f35-63c73103cee7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
{"order" : 3}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:43:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | caf630c4-5afc-4716-851b-cb8d6b659727 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
{"order" : 0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=681B2FB12C16D3B025A152645EB66FE0; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDI0NzIxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Mjd9.qCnfPmmCSyXjNiHdgM15Tol1-44qRvFduzeRJ0_zWQU; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:43:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dc762d11-34da-4ebe-bc02-c464a518d610 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 45 |
| Cookie | JSESSIONID=681B2FB12C16D3B025A152645EB66FE0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDI0NzIxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Mjd9.qCnfPmmCSyXjNiHdgM15Tol1-44qRvFduzeRJ0_zWQU |
{"order" : 123012301203102301230102301230123}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | bad-request-exception |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:50 GMT |
| Connection | close |
{"message":"Numeric value (123012301203102301230102301230123) out of range of int (-2147483648 - 2147483647)\n at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 45]","stacktrace":{"buffer":"com.fasterxml.jackson.core.exc.InputCoercionException: Numeric value (123012301203102301230102301230123) out of range of int (-2147483648 - 2147483647)\n at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 45]\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase._reportInputCoercion(ParserMinimalBase.java:623)\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase.reportOverflowInt(ParserMinimalBase.java:592)\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase.reportOverflowInt(ParserMinimalBase.java:587)\n\tat com.fasterxml.jackson.core.base.ParserBase._reportTooLongIntegral(ParserBase.java:927)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseSlowInt(ParserBase.java:906)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseNumericValue(ParserBase.java:828)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseIntValue(ParserBase.java:857)\n\tat com.fasterxml.jackson.core.base.ParserBase.getIntValue(ParserBase.java:689)\n\tat com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:526)\n\tat com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:506)\n\tat com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeSetAndReturn(FieldProperty.java:167)\n\tat com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.vanillaDeserialize(BuilderBasedDeserializer.java:293)\n\tat com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.deserialize(BuilderBasedDeserializer.java:217)\n\tat com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)\n\tat com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:2025)\n\tat com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1175)\n\tat com.fasterxml.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:803)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:256)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:235)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)\n\tat org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundReadFrom(MappableExceptionWrapperInterceptor.java:74)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)\n\tat org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085)\n\tat org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874)\n\tat org.glassfish.jersey.server.ContainerRequest.readEntity(ContainerRequest.java:271)\n\tat org.glassfish.jersey.server.internal.inject.EntityParamValueFactoryProvider$EntityValueFactory.provide(EntityParamValueFactoryProvider.java:96)\n\tat org.glassfish.jersey.server.spi.internal.ParamValueFactoryWithSource.provide(ParamValueFactoryWithSource.java:71)\n\tat org.glassfish.jersey.server.spi.internal.ParameterValueHelper.getParameterValues(ParameterValueHelper.java:94)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$AbstractMethodParamInvoker.getParamValues(JavaResourceMethodDispatcherProvider.java:127)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, Bad request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cde95812-08ed-49c6-91fa-a0eeb13935df |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | JSESSIONID=681B2FB12C16D3B025A152645EB66FE0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDI0NzIxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Mjd9.qCnfPmmCSyXjNiHdgM15Tol1-44qRvFduzeRJ0_zWQU |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderAction(WorkflowHelper.java:951)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2826)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f16b6a1c-cfd9-4bdf-9e73-2075cd8a42a9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | JSESSIONID=681B2FB12C16D3B025A152645EB66FE0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDI0NzIxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Mjd9.qCnfPmmCSyXjNiHdgM15Tol1-44qRvFduzeRJ0_zWQU |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderAction(WorkflowHelper.java:951)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2826)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 82de7ee3-ceae-4d5e-a5aa-6603bdb98033 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | JSESSIONID=681B2FB12C16D3B025A152645EB66FE0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDI0NzIxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Mjd9.qCnfPmmCSyXjNiHdgM15Tol1-44qRvFduzeRJ0_zWQU |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:43:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0adf17ed-9ae5-4ecd-8170-0581663d17ae |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=681B2FB12C16D3B025A152645EB66FE0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDI0NzIxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Mjd9.qCnfPmmCSyXjNiHdgM15Tol1-44qRvFduzeRJ0_zWQU |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:43:54 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2824)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cd4b8f52-52b4-4468-b325-2184fc5b59cb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 1048 |
| Cookie | JSESSIONID=681B2FB12C16D3B025A152645EB66FE0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDI0NzIxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Mjd9.qCnfPmmCSyXjNiHdgM15Tol1-44qRvFduzeRJ0_zWQU |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Test Content Type",
"description": "THE DESCRIPTION",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"dataType": "LONG_TEXT",
"dbColumn": "text_area2",
"fieldVariables": [],
"fixed": false,
"iDate": 1453474468000,
"clazz": "com.dotcms.contenttype.model.field.ImmutableTextField",
"indexed": true,
"listed": false,
"modDate": 1478557845000,
"name": "Title",
"readOnly": false,
"required": false,
"searchable": true,
"sortOrder": 3,
"unique": false,
"variable": "title"
}],
"workflow": ["d61a59e1-a49c-46f2-a929-db2b4bfa88b2"]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:44:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"THE DESCRIPTION","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"LONG_TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1453474468000,"id":"6ce807965d2b9510b8f2aafb61360803","indexed":true,"listed":false,"modDate":1695329034000,"name":"Title","readOnly":false,"required":false,"searchable":true,"sortOrder":3,"unique":false,"variable":"title"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1695329034000,"icon":"event_note","id":"94a03a7b528590d78d2f752479b24788","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695329041000,"indexed":false,"listed":false,"modDate":1695329041000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695329041000,"indexed":false,"listed":false,"modDate":1695329041000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"LONG_TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1453474468000,"id":"6ce807965d2b9510b8f2aafb61360803","indexed":true,"listed":false,"modDate":1695329034000,"name":"Title","readOnly":false,"required":false,"searchable":true,"sortOrder":2,"unique":false,"variable":"title"}]}]}],"modDate":1695329034000,"multilingualable":false,"name":"Test Content Type","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"TestContentType","versionable":true,"workflows":[{"archived":false,"creationDate":1695329040530,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329031043,"name":"System Workflow","system":true}]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3de7b946-4fb6-4100-848e-2f4ec093d3e8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 71 |
| Cookie | JSESSIONID=681B2FB12C16D3B025A152645EB66FE0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDI0NzIxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Mjd9.qCnfPmmCSyXjNiHdgM15Tol1-44qRvFduzeRJ0_zWQU |
{
"contentlet":{
"stName": "TestContentType",
"title": "test"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:44:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentType","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"3e60f076125a2c3c42a81cebb29bbaf9","inode":"105eca94-bb3f-402d-b6d9-03879a2a2495","languageId":1,"live":false,"locked":false,"modDate":1695329040650,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329040650,"sortOrder":0,"stInode":"94a03a7b528590d78d2f752479b24788","title":"test","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.105eca94-bb3f-402d-b6d9-03879a2a2495","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a830e46f-5a07-4220-a669-f0c828fafecc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 1 |
| Cookie | JSESSIONID=681B2FB12C16D3B025A152645EB66FE0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDI0NzIxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Mjd9.qCnfPmmCSyXjNiHdgM15Tol1-44qRvFduzeRJ0_zWQU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:44:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"baseType":"CONTENT","contentType":"TestContentType","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"3e60f076125a2c3c42a81cebb29bbaf9","inode":"105eca94-bb3f-402d-b6d9-03879a2a2495","languageId":1,"live":false,"locked":false,"modDate":1695329040650,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329040650,"sortOrder":0,"stInode":"94a03a7b528590d78d2f752479b24788","title":"test","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/content.105eca94-bb3f-402d-b6d9-03879a2a2495","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7bd5762a-2a5e-4067-b716-a07c438b01fb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 3 |
| Cookie | JSESSIONID=681B2FB12C16D3B025A152645EB66FE0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDI0NzIxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Mjd9.qCnfPmmCSyXjNiHdgM15Tol1-44qRvFduzeRJ0_zWQU |
{}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 95 |
| Date | Thu, 21 Sep 2023 20:44:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e42a27ef-d281-4898-960d-53558811570a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=681B2FB12C16D3B025A152645EB66FE0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDI0NzIxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwMjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Mjd9.qCnfPmmCSyXjNiHdgM15Tol1-44qRvFduzeRJ0_zWQU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:44:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c9d73912-65a3-4b38-8804-52b549c5a6ef |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695329063",
"value": "SucessRequest1695329063"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=6F26E7A3B8C58FCA6CA910A9E8E787FD; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDY0MTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwNjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Njd9.jTM27WVf0CA9bjL9yXyoW_0fKr2a0Fj7kUgiEvsSalg; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:44:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"6719b8a8a7440ea7c3b22b0221a782ba","inode":"88436458-c51e-4a7e-8c9d-0e68b31d4594","key":"SucessRequest1695329063","languageId":1,"live":true,"locked":false,"modDate":1695329067171,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329067171,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695329063","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.88436458-c51e-4a7e-8c9d-0e68b31d4594","value":"SucessRequest1695329063","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 829e10a3-30a1-4b61-a457-51e588a8e226 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | JSESSIONID=6F26E7A3B8C58FCA6CA910A9E8E787FD; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDY0MTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwNjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Njd9.jTM27WVf0CA9bjL9yXyoW_0fKr2a0Fj7kUgiEvsSalg |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:44:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.validateActionStepAndWorkflow(WorkflowAPIImpl.java:3511)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireContentWorkflow(WorkflowAPIImpl.java:3360)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2455)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 26682d82-2c47-464c-9439-712aa3c560a6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 138 |
| Cookie | JSESSIONID=6F26E7A3B8C58FCA6CA910A9E8E787FD; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDY0MTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwNjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Njd9.jTM27WVf0CA9bjL9yXyoW_0fKr2a0Fj7kUgiEvsSalg |
{ "contentlet" : {
"stInode" : "af4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:44:33 GMT |
| Connection | close |
{"message":"Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found","stacktrace":{"buffer":"com.dotmarketing.business.DotStateException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:86)\n\tat com.dotcms.rest.ContentHelper.populateContentletFromMap(ContentHelper.java:74)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2752)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.rest.MapToContentletPopulator.processMap(MapToContentletPopulator.java:135)\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:83)\n\t... 102 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fb1c1ad1-a3f5-45d9-b8bc-6f92bce50e03 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
| Cookie | JSESSIONID=6F26E7A3B8C58FCA6CA910A9E8E787FD; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDY0MTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwNjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Njd9.jTM27WVf0CA9bjL9yXyoW_0fKr2a0Fj7kUgiEvsSalg |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SupportShorty1695329073",
"value": "SupportShorty1695329073"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:44:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"8d7f1b2fe4c1227382388f03123b6701","inode":"51befd64-c02d-4c5a-8399-1ea2277648c3","key":"SupportShorty1695329073","languageId":1,"live":true,"locked":false,"modDate":1695329073578,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329073578,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SupportShorty1695329073","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.51befd64-c02d-4c5a-8399-1ea2277648c3","value":"SupportShorty1695329073","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9e2e61b7-93c4-40b0-b9d0-73183e3b0a5b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=6F26E7A3B8C58FCA6CA910A9E8E787FD; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDY0MTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwNjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Njd9.jTM27WVf0CA9bjL9yXyoW_0fKr2a0Fj7kUgiEvsSalg |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:44:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"6719b8a8a7440ea7c3b22b0221a782ba","inode":"5ebc3526-700a-4a1f-a566-8239c24a5923","key":"SucessRequest1695329063","languageId":1,"live":true,"locked":false,"modDate":1695329079869,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329079869,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695329063","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.88436458-c51e-4a7e-8c9d-0e68b31d4594","value":"SucessRequest1695329063","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 45e1c7f4-a21e-4a3c-b9c5-a71e6bd06d47 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | JSESSIONID=6F26E7A3B8C58FCA6CA910A9E8E787FD; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDY0MTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwNjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Njd9.jTM27WVf0CA9bjL9yXyoW_0fKr2a0Fj7kUgiEvsSalg |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695329063",
"value": "postman3"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:44:46 GMT |
| Connection | close |
{"entity":"","errors":[{"errorCode":"unique","fieldName":"key","message":"The same unique value in field Key is used by more than one content."}],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, BadRequest | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a677d0e5-78d9-462b-8e3a-1da1e7a0933a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=6F26E7A3B8C58FCA6CA910A9E8E787FD; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDY0MTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwNjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Njd9.jTM27WVf0CA9bjL9yXyoW_0fKr2a0Fj7kUgiEvsSalg |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | When no inode is sent the info on the Request body becomes mandatory. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:44:46 GMT |
| Connection | close |
{"message":"When no inode is sent the info on the Request body becomes mandatory.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: When no inode is sent the info on the Request body becomes mandatory.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1224)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1347)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2698)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4dcec636-96ce-491f-8735-24cd5362c8ee |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=6F26E7A3B8C58FCA6CA910A9E8E787FD; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDY0MTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwNjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Njd9.jTM27WVf0CA9bjL9yXyoW_0fKr2a0Fj7kUgiEvsSalg |
| Content-Length | 5316 |
{"json":"{ \"contentlet\" : {\n \"stInode\" : \"f2d8a1c7-2b77-2081-bcf1-b5348988c08d\"\n}\n}","file":"resources/WorkflowResource/testImages/james.jpeg"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:44:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpegIcon","archived":false,"asset":"/dA/80ce1fe51bfb8a330f7b0668725d51e3/asset/james.jpeg","assetContentAsset":"80ce1fe51bfb8a330f7b0668725d51e3/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":4930,"height":186,"isImage":true,"length":4930,"modDate":1695329086408,"name":"james.jpeg","sha256":"34a7edc5d23c9b3c6c93cd7762ed65966abfbd60813edbe22db395d6e7b24bd7","title":"james.jpeg","version":20220201,"width":139},"assetVersion":"/dA/1069ecfe-20da-46ce-a046-e001b3028b47/asset/james.jpeg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpeg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"80ce1fe51bfb8a330f7b0668725d51e3","inode":"1069ecfe-20da-46ce-a046-e001b3028b47","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1695329086434,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"james.jpeg","owner":"dotcms.org.1","path":"/content.1069ecfe-20da-46ce-a046-e001b3028b47","publishDate":1695329086434,"size":4930,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"james.jpeg","titleImage":"asset","type":"dotasset","url":"/content.1069ecfe-20da-46ce-a046-e001b3028b47","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| First binary included | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 69182b2e-27fb-4e1b-8235-1d2012fc51cb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=6F26E7A3B8C58FCA6CA910A9E8E787FD; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDY0MTA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwNjcsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0Njd9.jTM27WVf0CA9bjL9yXyoW_0fKr2a0Fj7kUgiEvsSalg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:44:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 109a4ec5-5033-4b35-868d-c2deec39c26f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695329093",
"value": "SucessRequest1695329093"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=271971BB667FEDFB79545D6DB2EE8A0B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDkzOTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwOTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0OTZ9.lzU_lzS5_7zxrMZ1PHMFATTRQpOqBg5TM_uyXVj98Wg; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"48095100d8374e32f722e27a6cc76468","inode":"08898ba7-1780-435e-b705-bdb55a5e2feb","key":"SucessRequest1695329093","languageId":1,"live":true,"locked":false,"modDate":1695329097059,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329097059,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695329093","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.08898ba7-1780-435e-b705-bdb55a5e2feb","value":"SucessRequest1695329093","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire a publish action. In the body the contentType is not sent, just the baseType but it doesn't exists so 400.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5388f050-bd65-4e6c-ae7d-22317d637cf2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 200 |
| Cookie | JSESSIONID=271971BB667FEDFB79545D6DB2EE8A0B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDkzOTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwOTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0OTZ9.lzU_lzS5_7zxrMZ1PHMFATTRQpOqBg5TM_uyXVj98Wg |
{
"contentlet":{
"baseType":"BaseTypeNotExist",
"asset":"temp_c41afefd64",
"hostFolder":"48190c8c-42c4-46af-8d1a-0cd5db894797",
"indexPolicy":"WAIT_FOR"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | BaseContentType BaseTypeNotExist does not Exist |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:03 GMT |
| Connection | close |
{"message":"BaseContentType BaseTypeNotExist does not Exist","stacktrace":{"buffer":"java.lang.IllegalArgumentException: BaseContentType BaseTypeNotExist does not Exist\n\tat com.dotcms.contenttype.model.type.BaseContentType.getBaseContentType(BaseContentType.java:115)\n\tat com.dotcms.rest.ContentHelper.tryToSetContentType(ContentHelper.java:118)\n\tat com.dotcms.rest.ContentHelper.checkOrSetContentType(ContentHelper.java:101)\n\tat com.dotcms.rest.ContentHelper.checkOrSetContentType(ContentHelper.java:85)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2748)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9df2b922-8fb3-45b4-881e-1e77ac1fe280 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | JSESSIONID=271971BB667FEDFB79545D6DB2EE8A0B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDkzOTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwOTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0OTZ9.lzU_lzS5_7zxrMZ1PHMFATTRQpOqBg5TM_uyXVj98Wg |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-message | No enum constant com.dotmarketing.portlets.workflows.business.WorkflowAPI.SystemAction.NONEXISTING |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | application/json |
| Content-Length | 112 |
| Date | Thu, 21 Sep 2023 20:45:03 GMT |
| Connection | close |
{"message":"No enum constant com.dotmarketing.portlets.workflows.business.WorkflowAPI.SystemAction.NONEXISTING"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | efb1a0ce-8ca4-4379-8fa2-d96f9af88b5b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 138 |
| Cookie | JSESSIONID=271971BB667FEDFB79545D6DB2EE8A0B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDkzOTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwOTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0OTZ9.lzU_lzS5_7zxrMZ1PHMFATTRQpOqBg5TM_uyXVj98Wg |
{ "contentlet" : {
"stInode" : "af4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:03 GMT |
| Connection | close |
{"message":"Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found","stacktrace":{"buffer":"com.dotmarketing.business.DotStateException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:86)\n\tat com.dotcms.rest.ContentHelper.populateContentletFromMap(ContentHelper.java:74)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2752)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.rest.MapToContentletPopulator.processMap(MapToContentletPopulator.java:135)\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:83)\n\t... 103 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c4994bc0-4256-474b-a5bb-e279af70f95b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=271971BB667FEDFB79545D6DB2EE8A0B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDkzOTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwOTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0OTZ9.lzU_lzS5_7zxrMZ1PHMFATTRQpOqBg5TM_uyXVj98Wg |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"48095100d8374e32f722e27a6cc76468","inode":"3c37ac19-84f8-4151-8262-0d00e311a88f","key":"SucessRequest1695329093","languageId":1,"live":true,"locked":false,"modDate":1695329103629,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329103629,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695329093","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.08898ba7-1780-435e-b705-bdb55a5e2feb","value":"SucessRequest1695329093","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3b6f0248-dd8a-46c2-8d74-40d6f88d6cd8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | JSESSIONID=271971BB667FEDFB79545D6DB2EE8A0B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDkzOTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwOTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0OTZ9.lzU_lzS5_7zxrMZ1PHMFATTRQpOqBg5TM_uyXVj98Wg |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695329093",
"value": "postman3"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:09 GMT |
| Connection | close |
{"entity":"","errors":[{"errorCode":"unique","fieldName":"key","message":"The same unique value in field Key is used by more than one content."}],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, BadRequest | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8fde7862-84c1-4723-b5a4-e3ebae320280 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=271971BB667FEDFB79545D6DB2EE8A0B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDkzOTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwOTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0OTZ9.lzU_lzS5_7zxrMZ1PHMFATTRQpOqBg5TM_uyXVj98Wg |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | When no inode is sent the info on the Request body becomes mandatory. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:09 GMT |
| Connection | close |
{"message":"When no inode is sent the info on the Request body becomes mandatory.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: When no inode is sent the info on the Request body becomes mandatory.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1224)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1347)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2698)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 40d59951-8143-47ef-817e-da5e1c1eda3f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=271971BB667FEDFB79545D6DB2EE8A0B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDkzOTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwOTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0OTZ9.lzU_lzS5_7zxrMZ1PHMFATTRQpOqBg5TM_uyXVj98Wg |
| Content-Length | 5316 |
{"json":"{ \"contentlet\" : {\n \"stInode\" : \"f2d8a1c7-2b77-2081-bcf1-b5348988c08d\"\n}\n}","file":"resources/WorkflowResource/testImages/james.jpeg"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpegIcon","archived":false,"asset":"/dA/ed265680-9ae3-40b5-ab59-d575035ab35b/asset/james.jpeg","assetContentAsset":"ed265680-9ae3-40b5-ab59-d575035ab35b/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":4930,"height":186,"isImage":true,"length":4930,"modDate":1695329110044,"name":"james.jpeg","sha256":"34a7edc5d23c9b3c6c93cd7762ed65966abfbd60813edbe22db395d6e7b24bd7","title":"james.jpeg","version":20220201,"width":139},"assetVersion":"/dA/22965adf-a66a-4766-b1d4-845fbe9705ca/asset/james.jpeg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpeg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"ed265680-9ae3-40b5-ab59-d575035ab35b","inode":"22965adf-a66a-4766-b1d4-845fbe9705ca","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1695329110078,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"james.jpeg","owner":"dotcms.org.1","path":"/content.22965adf-a66a-4766-b1d4-845fbe9705ca","publishDate":1695329110078,"size":4930,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"james.jpeg","titleImage":"asset","type":"dotasset","url":"/content.22965adf-a66a-4766-b1d4-845fbe9705ca","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| First binary included | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 118bc3eb-38f9-4276-942e-9bfa6738ab38 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=271971BB667FEDFB79545D6DB2EE8A0B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MDkzOTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkwOTYsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU0OTZ9.lzU_lzS5_7zxrMZ1PHMFATTRQpOqBg5TM_uyXVj98Wg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:45:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 49a06488-bfa8-464c-8824-82fd9458e9f0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:45:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7800041a-5d45-4660-8cf3-054512f2c1f4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=662782C383912781588E1CA14F9E5D49; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTE3NTU4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxMjAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1MjB9.zSgr3n422V5Nv1KYuiJHNdV5LKwbXPouKdXPEzQ9Ix4; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695329120570,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"e0dd0b7d-6c52-4cfa-8d8d-41626311e89a","mandatory":false,"modDate":1695329120570,"name":"Copy from REST (automatic)","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 882f675a-21e9-4eff-aed7-d87dd9e36dc9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=662782C383912781588E1CA14F9E5D49; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTE3NTU4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxMjAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1MjB9.zSgr3n422V5Nv1KYuiJHNdV5LKwbXPouKdXPEzQ9Ix4 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.copyScheme(WorkflowResource.java:2970)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 355696f1-14a6-4b28-b23f-ecda9964c404 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=662782C383912781588E1CA14F9E5D49; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTE3NTU4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxMjAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1MjB9.zSgr3n422V5Nv1KYuiJHNdV5LKwbXPouKdXPEzQ9Ix4 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695329123704,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"9443e460-b709-48ef-ba19-7b72ae834117","mandatory":false,"modDate":1695329123704,"name":"Copy from REST (automatic)_limited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 86a6f96c-9145-40f9-995c-e287fcedb0c9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 47 |
| Cookie | JSESSIONID=662782C383912781588E1CA14F9E5D49; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTE3NTU4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxMjAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1MjB9.zSgr3n422V5Nv1KYuiJHNdV5LKwbXPouKdXPEzQ9Ix4 |
{ "name":"Copy from REST (automatic)_limited" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695329126807,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"0e0a6e73-51af-44a2-9b9f-01b7ec3f1a4d","mandatory":false,"modDate":1695329126807,"name":"Copy from REST (automatic)_limited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1d4f3547-7a46-41d2-8a2e-647243e3a9bb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 47 |
| Cookie | JSESSIONID=662782C383912781588E1CA14F9E5D49; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTE3NTU4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxMjAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1MjB9.zSgr3n422V5Nv1KYuiJHNdV5LKwbXPouKdXPEzQ9Ix4 |
{ "name":"Copy from REST (automatic)_limited" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695329129895,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"11ba8c66-4fd1-4b40-8af0-6abff44f7aa1","mandatory":false,"modDate":1695329129895,"name":"Copy Using ShortlyID","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9a31ff7d-5f2a-434f-ab1d-02e94750a19c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=662782C383912781588E1CA14F9E5D49; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTE3NTU4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxMjAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1MjB9.zSgr3n422V5Nv1KYuiJHNdV5LKwbXPouKdXPEzQ9Ix4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:45:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8290d52b-d5ab-47e0-bc60-596184005118 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:45:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 90cde264-9262-4f8a-9424-ba98ee678348 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=3E1240EA3F447E90DD09A69F41554B8C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329137201,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"875e4cb0-7360-4bf3-a872-04dd3d677aec","myOrder":0,"name":"REST step Updated again","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 315163bc-668e-4813-8d95-41a90bc3293a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3E1240EA3F447E90DD09A69F41554B8C |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:40 GMT |
| Connection | close |
{"message":"Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'.","stacktrace":{"buffer":"com.dotmarketing.exception.DotDataValidationException: Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'.\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.doDeleteStep(WorkflowAPIImpl.java:1073)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.deleteStep(WorkflowAPIImpl.java:1031)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteStep(WorkflowHelper.java:1133)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteStep(WorkflowResource.java:1168)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 630f6581-86d8-4e87-b52e-38d3a3811f0d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3E1240EA3F447E90DD09A69F41554B8C |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteStep(WorkflowHelper.java:1126)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteStep(WorkflowResource.java:1168)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3c629cca-40b0-4b6c-bb7d-f8927c716df0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=3E1240EA3F447E90DD09A69F41554B8C |
{ "schemeId" : "2b71231f-cc71-46d0-bd90-7510dd64bc76", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329140440,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"924c063c-29a8-44e5-aada-566f139464fa","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6486b53f-6f03-45c9-b5fa-6f54e030b663 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3E1240EA3F447E90DD09A69F41554B8C |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329143488,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"924c063c-29a8-44e5-aada-566f139464fa","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cf398720-36f0-4e94-bbcc-8f9f34b1d10c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3E1240EA3F447E90DD09A69F41554B8C |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:45:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f39b7b54-9767-401f-a7cc-c9fcd95e9315 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:45:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 386f7f42-eb54-43bb-b28e-47489ba90611 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=DB5514CDE71DD880C9A291F1CAB6E97B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTQ3NzIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1NTB9.FLL4wFDv1qt0kArE6979LZw2Td9vTdh5Wtz-CJZZJ_s; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:45:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6e70efbd-a94b-40c2-95ba-dacaca910bf9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DB5514CDE71DD880C9A291F1CAB6E97B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTQ3NzIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1NTB9.FLL4wFDv1qt0kArE6979LZw2Td9vTdh5Wtz-CJZZJ_s |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1175)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1231)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7c729b75-4a20-4545-af25-715b6fe24726 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=DB5514CDE71DD880C9A291F1CAB6E97B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTQ3NzIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1NTB9.FLL4wFDv1qt0kArE6979LZw2Td9vTdh5Wtz-CJZZJ_s |
{ "schemeId" : "2b71231f-cc71-46d0-bd90-7510dd64bc76", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:45:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329153827,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"1adbff15-252f-435d-981a-95482e35a5e4","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 50ced9af-2e9e-466b-8800-174a6dd47d84 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | JSESSIONID=DB5514CDE71DD880C9A291F1CAB6E97B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTQ3NzIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1NTB9.FLL4wFDv1qt0kArE6979LZw2Td9vTdh5Wtz-CJZZJ_s |
{
"stepId": "1adbff15-252f-435d-981a-95482e35a5e4",
"actionName": "saveContent FROM REST NEW",
"schemeId": "2b71231f-cc71-46d0-bd90-7510dd64bc76",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:02 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"5efddf2d-d8d6-4669-97a8-1e91b28ef07d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7343af2c-30de-4763-988d-063e41cdf2b3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DB5514CDE71DD880C9A291F1CAB6E97B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTQ3NzIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1NTB9.FLL4wFDv1qt0kArE6979LZw2Td9vTdh5Wtz-CJZZJ_s |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:46:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c0a2a988-6e17-4f11-b8e9-61bc7649102f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=DB5514CDE71DD880C9A291F1CAB6E97B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTQ3NzIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1NTB9.FLL4wFDv1qt0kArE6979LZw2Td9vTdh5Wtz-CJZZJ_s |
{ "schemeId" : "2b71231f-cc71-46d0-bd90-7510dd64bc76", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:08 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329165977,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"2398bde9-3826-4173-b870-d697a644a694","myOrder":3,"name":"My REST step","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 582156e2-7a79-4e81-9be4-ccf216b27145 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | JSESSIONID=DB5514CDE71DD880C9A291F1CAB6E97B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTQ3NzIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1NTB9.FLL4wFDv1qt0kArE6979LZw2Td9vTdh5Wtz-CJZZJ_s |
{
"stepId": "2398bde9-3826-4173-b870-d697a644a694",
"actionName": "saveContent FROM REST NEW",
"schemeId": "2b71231f-cc71-46d0-bd90-7510dd64bc76",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"49808c94-7b71-44d3-82e4-f1fdd7f70b88","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6e60fd3f-57ef-468f-baf1-d28353aff987 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DB5514CDE71DD880C9A291F1CAB6E97B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTQ3NzIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNTAsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1NTB9.FLL4wFDv1qt0kArE6979LZw2Td9vTdh5Wtz-CJZZJ_s |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:46:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b96039c4-0a9c-459c-bcb0-3daccc1a2fb4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:46:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9b545816-c4be-4538-80b7-ac6361c8321a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=81C8EF501E9F595E8652A3CDDBA153E6; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTc2Mjk2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNzksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1Nzl9.gspSW9iIU5SwbU2Lb65V35aWjmJzrrbVZq5JU_EIt54; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:46:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2d9f6502-a6b7-4ee0-abb7-e76c702d76d6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=81C8EF501E9F595E8652A3CDDBA153E6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTc2Mjk2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNzksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1Nzl9.gspSW9iIU5SwbU2Lb65V35aWjmJzrrbVZq5JU_EIt54 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1210)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1199)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d93c4e42-3afc-4b92-a910-521a2251c994 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=81C8EF501E9F595E8652A3CDDBA153E6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTc2Mjk2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNzksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1Nzl9.gspSW9iIU5SwbU2Lb65V35aWjmJzrrbVZq5JU_EIt54 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1213)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1199)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d0006b4e-3c58-4cd9-bd29-2ca1f0218c00 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=81C8EF501E9F595E8652A3CDDBA153E6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTc2Mjk2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNzksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1Nzl9.gspSW9iIU5SwbU2Lb65V35aWjmJzrrbVZq5JU_EIt54 |
{ "schemeId" : "2b71231f-cc71-46d0-bd90-7510dd64bc76", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329182472,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"054fb8ab-08e3-4a9c-8189-9ddbd6071441","myOrder":4,"name":"My REST step","resolved":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5b3a18ba-0468-4c07-bd01-5a45cde09713 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | JSESSIONID=81C8EF501E9F595E8652A3CDDBA153E6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTc2Mjk2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNzksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1Nzl9.gspSW9iIU5SwbU2Lb65V35aWjmJzrrbVZq5JU_EIt54 |
{
"stepId": "054fb8ab-08e3-4a9c-8189-9ddbd6071441",
"actionName": "saveContent FROM REST NEW",
"schemeId": "2b71231f-cc71-46d0-bd90-7510dd64bc76",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b1dfdbb1-eeb2-44db-9862-a1ac014e9f80","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"2b71231f-cc71-46d0-bd90-7510dd64bc76","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 655fc74d-018d-4e3e-86b0-6697c3c42471 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=81C8EF501E9F595E8652A3CDDBA153E6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTc2Mjk2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNzksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1Nzl9.gspSW9iIU5SwbU2Lb65V35aWjmJzrrbVZq5JU_EIt54 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:46:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2f151169-1de3-4f94-ab17-ac514728e91c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=81C8EF501E9F595E8652A3CDDBA153E6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTc2Mjk2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxNzksImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1Nzl9.gspSW9iIU5SwbU2Lb65V35aWjmJzrrbVZq5JU_EIt54 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:46:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0e37547e-f736-412b-999f-af89bca310bb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:46:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a279d291-d0d1-4a54-b3fd-9cb7206bbd09 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 106 |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Set-Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695329198874,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695329198875,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d4927424-4c2f-4874-9f0b-8a6d7dadf18d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:45 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695329201918,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"2b71231f-cc71-46d0-bd90-7510dd64bc76","mandatory":false,"modDate":1695329201938,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5066febb-f087-4f1e-9024-fb72cfce092f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:45 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.delete(WorkflowHelper.java:1955)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteScheme(WorkflowResource.java:3159)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 846c9275-acdc-4b4b-8704-eae2bc6df91a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{"schemeName": "REST Schema", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:48 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695329205192,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"70c2509b-0db4-4053-a040-8ced7062f7b7","mandatory":false,"modDate":1695329205192,"name":"REST Schema","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response includes name | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 087c89f3-09bd-41f2-b6b2-fd36cc6ee57e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 106 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:51 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695329208233,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"70c2509b-0db4-4053-a040-8ced7062f7b7","mandatory":false,"modDate":1695329208234,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d2f7327d-2424-4bfc-9397-4a381958c52a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:46:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695329211270,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"70c2509b-0db4-4053-a040-8ced7062f7b7","mandatory":false,"modDate":1695329208234,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a content type to associate a system workflow
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fdb25bce-373c-40da-904c-2b178f3d13d6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 432 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"defaultType":false,
"fixed":false,
"system":false,
"clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"description":"",
"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d",
"folder":"SYSTEM_FOLDER",
"name":"TestContentTypeSystemActions",
"systemActionMappings":{
"NEW":"ceca71a0-deee-4999-bd47-b01baa1bcfc8"
},
"workflow":[
"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:47:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"fields":[],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695329214000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"14b9c05499ba48cd8a38400b35529c2a","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695329220000,"indexed":false,"listed":false,"modDate":1695329220000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":-1,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"14b9c05499ba48cd8a38400b35529c2a","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695329220000,"indexed":false,"listed":false,"modDate":1695329220000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":-1,"unique":false},"fields":[]}]}],"modDate":1695329214000,"multilingualable":false,"name":"TestContentTypeSystemActions","siteName":"default","sortOrder":0,"system":false,"systemActionMappings":{"NEW":{"identifier":"48d0c81a-30ab-4d4f-84c9-1ec0ea513e0c","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695329214000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695329214000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"NEW","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","LOCKED","EDITING","NEW","UNPUBLISHED"]},"ownerContentType":true,"ownerScheme":false}},"variable":"TestContentTypeSystemActions","versionable":true,"workflows":[{"archived":false,"creationDate":1695329220392,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329150752,"name":"System Workflow","system":true}]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Create for the new content type a new mapping for EDIT
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 734d9c11-cff0-41c8-bed3-63f5e5d3565d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 133 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"actionId":"b9d89c80-3d88-4311-8365-187323c96436",
"systemAction":"EDIT",
"contentTypeVariable":"TestContentTypeSystemActions"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:47:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"identifier":"8e3c04cc-4f40-428b-9a50-cb30d1a359dd","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695329214000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695329214000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"EDIT","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","UNLOCKED","LOCKED","EDITING","NEW","UNPUBLISHED","LISTING"]},"ownerContentType":true,"ownerScheme":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the two content types
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 93fff262-1825-4783-88b8-aa54a4fe3c33 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:47:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"identifier":"48d0c81a-30ab-4d4f-84c9-1ec0ea513e0c","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695329214000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695329214000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"NEW","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","LOCKED","EDITING","NEW","UNPUBLISHED"]},"ownerContentType":true,"ownerScheme":false},{"identifier":"8e3c04cc-4f40-428b-9a50-cb30d1a359dd","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695329214000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695329214000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"EDIT","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","UNLOCKED","LOCKED","EDITING","NEW","UNPUBLISHED","LISTING"]},"ownerContentType":true,"ownerScheme":false}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Return 2 items | 1 | 0 | 0 |
| Has New System Action | 1 | 0 | 0 |
| New has a Save Action | 1 | 0 | 0 |
| Has Edit System Action | 1 | 0 | 0 |
| New has a Save/Publish Action | 1 | 0 | 0 |
| Total | 6 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d3939194-21fb-45d4-9038-ffe6e20a2201 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:47:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"896b8bfaaf8fb64540bc9656766df7b6","inode":"109f42eb-1233-40f7-962e-0ff100dc2d99","languageId":1,"live":false,"locked":false,"modDate":1695329223539,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329223539,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"896b8bfaaf8fb64540bc9656766df7b6","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.109f42eb-1233-40f7-962e-0ff100dc2d99","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fires an EDIT default action
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 03cee641-e4bb-4225-8069-7835455d057d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:47:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"f18b5919f52f92414a0030ef97903b81","inode":"a1ddbf84-7a38-439a-93c8-7d8d22b11a0f","languageId":1,"live":true,"locked":false,"modDate":1695329229695,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329229695,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"f18b5919f52f92414a0030ef97903b81","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.a1ddbf84-7a38-439a-93c8-7d8d22b11a0f","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fires an PUBLISH default action
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 34794a49-d940-4399-b685-52c48e8dd5c5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:47:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"cee2f91208aa4e29c17b23abb7db1122","inode":"52ec9e83-b4cb-4b8b-9ba2-8105fbdc25b3","languageId":1,"live":true,"locked":false,"modDate":1695329235964,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329235964,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"cee2f91208aa4e29c17b23abb7db1122","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.52ec9e83-b4cb-4b8b-9ba2-8105fbdc25b3","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Publish Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | eef6c58c-e8bf-4d87-9ea0-76d2fdcb86ed |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:47:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"hostSwitched":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2a0bd41d-3f8f-420c-ae2e-9cf34262c2bf |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 197 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"comments":"Adding New Generic content",
"contentlet": {
"contentType":"webPageContent",
"title":"Test Merge Content",
"body":"Test Merge Body",
"contentHost":"default"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:47:28 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test Merge Body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"021a2b704fcc2f4f4360038633c8b18b","inode":"c9d8ada4-d18a-4f9e-ac29-53350f46c7d5","languageId":1,"live":false,"locked":false,"modDate":1695329242231,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329242231,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test Merge Content","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.c9d8ada4-d18a-4f9e-ac29-53350f46c7d5","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2d574809-0cb9-4701-813e-a31339a59e89 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 197 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"comments":"Publish an existing Generic content",
"query":"+contentType:webPageContent AND title:\"Test Merge Content\"",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:47:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"021a2b704fcc2f4f4360038633c8b18b":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","body":"Test Merge Body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"021a2b704fcc2f4f4360038633c8b18b","inode":"10aa59f9-b88f-43e9-ac82-ca90dd913747","languageId":1,"live":true,"locked":false,"modDate":1695329248771,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329248771,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test Merge Content Published","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.c9d8ada4-d18a-4f9e-ac29-53350f46c7d5","working":true}}],"summary":{"affected":1,"failCount":0,"successCount":1,"time":7000}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d09469e9-507d-4550-8672-84b76d7b6988 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 153 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet": {
"contentType":"webPageContent",
"title":"Test title",
"body":"Test body",
"contentHost":"default"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:47:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"2233fa4de113aa15e2986b5aaec806aa","inode":"c2bb728a-fa45-48d3-90a3-8193c8894053","languageId":1,"live":false,"locked":false,"modDate":1695329255801,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329255801,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test title","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.c2bb728a-fa45-48d3-90a3-8193c8894053","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 779164c3-215d-4f5e-aa68-dc7be15e21ec |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 121 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"comments":"Publish an existing Generic content",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:47:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"811e3dda-049f-48d9-a96c-10f0dc341047":{"errorMessage":"Content not found","identifier":null,"inode":"811e3dda-049f-48d9-a96c-10f0dc341047"}}],"summary":{"affected":1,"failCount":1,"successCount":0,"time":3}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 411b8ef5-4cf7-4192-b36a-43715a23a88b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 121 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"comments":"Publish an existing Generic content",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:47:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"xxxx":{"errorMessage":"Content not found","identifier":null,"inode":"xxxx"}}],"summary":{"affected":1,"failCount":1,"successCount":0,"time":3}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Content Not Found | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 44670985-cd55-462a-8ff7-fa780c57e07b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 3448 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlets":[
{
"contentType":"webPageContent",
"title":"Content1",
"contentHost":"default",
"body":"Body Content1"
},
{
"contentType":"webPageContent",
"title":"Content2",
"contentHost":"default",
"body":"Body Content2"
},
{
"contentType":"webPageContent",
"title":"Content3",
"contentHost":"default",
"body":"Body Content3"
},
{
"contentType":"webPageContent",
"title":"Content4",
"contentHost":"default",
"body":"Body Content4"
},
{
"contentType":"webPageContent",
"title":"Content5",
"contentHost":"default",
"body":"Body Content5"
},
{
"contentType":"webPageContent",
"title":"Content6",
"contentHost":"default",
"body":"Body Content6"
},
{
"contentType":"webPageContent",
"title":"Content7",
"contentHost":"default",
"body":"Body Content7"
},
{
"contentType":"webPageContent",
"title":"Content8",
"contentHost":"default",
"body":"Body Content8"
},
{
"contentType":"webPageContent",
"title":"Content9",
"contentHost":"default",
"body":"Body Content9"
},
{
"contentType":"webPageContent",
"title":"Content10",
"contentHost":"default",
"body":"Body Content10"
},
{
"contentType":"webPageContent",
"title":"Content11",
"contentHost":"default",
"body":"Body Content11"
},
{
"contentType":"webPageContent",
"title":"Content12",
"contentHost":"default",
"body":"Body Content12"
},
{
"contentType":"webPageContent",
"title":"Content13",
"contentHost":"default",
"body":"Body Content13"
},
{
"contentType":"webPageContent",
"title":"Content14",
"contentHost":"default",
"body":"Body Content14"
},
{
"contentType":"webPageContent",
"title":"Content15",
"contentHost":"default",
"body":"Body Content15"
},
{
"contentType":"webPageContent",
"title":"Content16",
"contentHost":"default",
"body":"Body Content16"
},
{
"contentType":"webPageContent",
"title":"Content17",
"contentHost":"default",
"body":"Body Content17"
},
{
"contentType":"webPageContent",
"title":"Content18",
"contentHost":"default",
"body":"Body Content18"
},
{
"contentType":"webPageContent",
"title":"Content19",
"contentHost":"default",
"body":"Body Content19"
},
{
"contentType":"webPageContent",
"title":"Content20",
"contentHost":"default",
"body":"Body Content20"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:48:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"10b53d74757c6f5aec99c769cf9c1ca2":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content2","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"10b53d74757c6f5aec99c769cf9c1ca2","inode":"8821aec6-9859-4a3c-bf65-dab7f36af17f","languageId":1,"live":true,"locked":false,"modDate":1695329262184,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329262184,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content2","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.8821aec6-9859-4a3c-bf65-dab7f36af17f","working":true}},{"b716ca0860a3c78e20ebdbe387816041":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content1","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"b716ca0860a3c78e20ebdbe387816041","inode":"1b3effe2-16ba-4d30-8487-f1f3dd228cd0","languageId":1,"live":true,"locked":false,"modDate":1695329262193,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329262193,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content1","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.1b3effe2-16ba-4d30-8487-f1f3dd228cd0","working":true}},{"946f81eec7780982589510566c382235":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content3","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"946f81eec7780982589510566c382235","inode":"382ebb74-7f05-447f-94f8-fbfab5620fa2","languageId":1,"live":true,"locked":false,"modDate":1695329268368,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329268368,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content3","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.382ebb74-7f05-447f-94f8-fbfab5620fa2","working":true}},{"138552298351cc53182e89d603a9a91d":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content4","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"138552298351cc53182e89d603a9a91d","inode":"5819ab17-38e6-4579-aee3-ed1be4777b53","languageId":1,"live":true,"locked":false,"modDate":1695329268475,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329268475,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content4","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.5819ab17-38e6-4579-aee3-ed1be4777b53","working":true}},{"40c8e0065775cd774b95d3de9f79ec46":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content5","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"40c8e0065775cd774b95d3de9f79ec46","inode":"b1bc63ce-bbe9-4686-aab4-0dabbaf8e346","languageId":1,"live":true,"locked":false,"modDate":1695329274592,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329274592,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content5","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.b1bc63ce-bbe9-4686-aab4-0dabbaf8e346","working":true}},{"37e11387895ab01c43a7a25107959d4e":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content6","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"37e11387895ab01c43a7a25107959d4e","inode":"ad6fec82-a96a-47e0-9ba0-d3b2912e48cf","languageId":1,"live":true,"locked":false,"modDate":1695329274660,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329274660,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content6","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.ad6fec82-a96a-47e0-9ba0-d3b2912e48cf","working":true}},{"eaa565106836a0043410b0d23da9b139":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content7","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"eaa565106836a0043410b0d23da9b139","inode":"b2358611-e705-4590-a8be-bec55e02c80c","languageId":1,"live":true,"locked":false,"modDate":1695329280811,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329280811,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content7","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.b2358611-e705-4590-a8be-bec55e02c80c","working":true}},{"d699cc6c897f2088f724bdbe9791ced8":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content8","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"d699cc6c897f2088f724bdbe9791ced8","inode":"5e4c96e3-bdad-4352-9d3b-526443a930d6","languageId":1,"live":true,"locked":false,"modDate":1695329280932,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329280932,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content8","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.5e4c96e3-bdad-4352-9d3b-526443a930d6","working":true}},{"3a05b9423dea62aaeb5e7979baa02d43":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content9","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"3a05b9423dea62aaeb5e7979baa02d43","inode":"f25ce93f-6b1f-4f6c-88dc-35324771e38a","languageId":1,"live":true,"locked":false,"modDate":1695329287069,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329287069,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content9","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.f25ce93f-6b1f-4f6c-88dc-35324771e38a","working":true}},{"bd15523e167dccc394d7f49e1b3c6508":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content10","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"bd15523e167dccc394d7f49e1b3c6508","inode":"f8d8c10c-0768-4304-8486-0aa9a13f37cf","languageId":1,"live":true,"locked":false,"modDate":1695329287189,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329287189,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content10","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.f8d8c10c-0768-4304-8486-0aa9a13f37cf","working":true}},{"96386453d308c825990312dc732a8349":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content11","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"96386453d308c825990312dc732a8349","inode":"af7cbdde-c0b5-4b1b-8574-ce5c3344b2e4","languageId":1,"live":true,"locked":false,"modDate":1695329293235,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329293235,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content11","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.af7cbdde-c0b5-4b1b-8574-ce5c3344b2e4","working":true}},{"c5f8cea8c9ddcfe71ca30ac9ba96c320":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content12","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c5f8cea8c9ddcfe71ca30ac9ba96c320","inode":"a5ca0f71-57e8-4e24-b6b2-26fd32ea85bb","languageId":1,"live":true,"locked":false,"modDate":1695329293529,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329293529,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content12","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.a5ca0f71-57e8-4e24-b6b2-26fd32ea85bb","working":true}},{"5ed3ac3b722b6f58b1c256ff22b2bcd0":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content13","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"5ed3ac3b722b6f58b1c256ff22b2bcd0","inode":"da30be59-3b39-4f6f-ad3a-26e703f0d296","languageId":1,"live":true,"locked":false,"modDate":1695329299354,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329299354,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content13","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.da30be59-3b39-4f6f-ad3a-26e703f0d296","working":true}},{"4c0c73385c135d126fde42929b5d9352":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content14","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"4c0c73385c135d126fde42929b5d9352","inode":"8d35150b-20aa-48e9-a5d4-6b4ba4e1bbc2","languageId":1,"live":true,"locked":false,"modDate":1695329299724,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329299724,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content14","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.8d35150b-20aa-48e9-a5d4-6b4ba4e1bbc2","working":true}},{"f0c6c9b65090f32f541e65025062788d":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content15","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"f0c6c9b65090f32f541e65025062788d","inode":"0a1377d6-130a-45be-904d-5cb267eab701","languageId":1,"live":true,"locked":false,"modDate":1695329305499,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329305499,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content15","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.0a1377d6-130a-45be-904d-5cb267eab701","working":true}},{"34078afccc96c4c527c350797b07788e":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content16","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"34078afccc96c4c527c350797b07788e","inode":"4e4b78e6-0b88-47da-a7e3-ad0c0935ee27","languageId":1,"live":true,"locked":false,"modDate":1695329305863,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329305863,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content16","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.4e4b78e6-0b88-47da-a7e3-ad0c0935ee27","working":true}},{"30ca0402895b8d1f169d51b0b1e61e20":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content17","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"30ca0402895b8d1f169d51b0b1e61e20","inode":"c69a17ea-41a9-49ba-a253-c5fa0c9c226b","languageId":1,"live":true,"locked":false,"modDate":1695329311619,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329311619,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content17","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.c69a17ea-41a9-49ba-a253-c5fa0c9c226b","working":true}},{"94145beb9823f6136a0fc69d8e0b6926":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content18","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"94145beb9823f6136a0fc69d8e0b6926","inode":"b392c871-bfaa-40fe-ab36-94c0c53e4fb2","languageId":1,"live":true,"locked":false,"modDate":1695329312003,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329312003,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content18","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.b392c871-bfaa-40fe-ab36-94c0c53e4fb2","working":true}},{"56bc2a956489cc2e80bf8db55bdaf751":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content19","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"56bc2a956489cc2e80bf8db55bdaf751","inode":"b526381f-6297-44fe-a5f3-4e6410b1f715","languageId":1,"live":true,"locked":false,"modDate":1695329317770,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329317770,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content19","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.b526381f-6297-44fe-a5f3-4e6410b1f715","working":true}},{"7043e394b02494c1c66c79ffefd26014":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content20","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"7043e394b02494c1c66c79ffefd26014","inode":"cbc4479e-bc7f-4dcd-bf0c-0aeb519771ca","languageId":1,"live":true,"locked":false,"modDate":1695329318145,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329318145,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content20","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.cbc4479e-bc7f-4dcd-bf0c-0aeb519771ca","working":true}}],"summary":{"affected":20,"failCount":0,"successCount":20,"time":62227}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates several contentlets but some of them are sent without ContentType so it should fail
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 975b7093-b4e7-4593-9dab-72e25e60360d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 336 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlets":[
{
"contentType":"webPageContent",
"title":"Content1 SUCCESS",
"contentHost":"default",
"body":"Body Content1"
},
{
"title":"Content2 FAIL",
"contentHost":"default",
"body":"Body Content2"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:48:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"{title=Content2 FAIL, contentHost=default, body=Body Content2}":{"errorMessage":"Content Type does not exist","identifier":null,"inode":null}},{"8499a8ed7bee37eecaad23c3b63e0ae4":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content1","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"8499a8ed7bee37eecaad23c3b63e0ae4","inode":"f62614e9-f1be-40d9-a90c-9546a31526a7","languageId":1,"live":true,"locked":false,"modDate":1695329324454,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329324454,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content1 SUCCESS","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.f62614e9-f1be-40d9-a90c-9546a31526a7","working":true}}],"summary":{"affected":2,"failCount":1,"successCount":1,"time":6143}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Errors | 1 | 0 | 0 |
| Success | 1 | 0 | 0 |
| Affected | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a temporal file to be uploaded later
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Origin | http://localhost:8080 |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 67d1246f-2474-4564-ad98-8ae789f18fee |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"fileName":"250px-Bocas2.jpg",
"remoteUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Bocas2.jpg/250px-Bocas2.jpg"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:48:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"tempFiles":[{"fileName":"250px-Bocas2.jpg","folder":"","id":"temp_e471e1490a","image":true,"length":10555,"mimeType":"image/jpeg","referenceUrl":"/dA/temp_e471e1490a/tmp/250px-Bocas2.jpg","thumbnailUrl":"/contentAsset/image/temp_e471e1490a/tmp/filter/Thumbnail/thumbnail_w/250/thumbnail_h/250/250px-Bocas2.jpg"}]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| File name check | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates several contentlets with binary fields on them, to achieve this the file must be uploaded first using the temp resource.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 78e36e6b-9857-4801-aea5-1d0c2c0705ac |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 162 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlets":[
{
"contentType":"DotAsset",
"asset":"temp_e471e1490a",
"hostFolder":"default"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:48:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"73182827975daf52703fd6db10f80e71":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpgIcon","archived":false,"asset":"/dA/73182827975daf52703fd6db10f80e71/asset/250px-Bocas2.jpg","assetContentAsset":"73182827975daf52703fd6db10f80e71/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":10555,"height":187,"isImage":true,"length":10555,"modDate":1695329331223,"name":"250px-Bocas2.jpg","sha256":"735c49b3d9ee65891ae038fa7005cff339d66414a4c8aeefa9900c855d637a61","title":"250px-Bocas2.jpg","version":20220201,"width":250},"assetVersion":"/dA/b72fb9c2-31c9-4fc6-81f6-78b3190cecb0/asset/250px-Bocas2.jpg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"73182827975daf52703fd6db10f80e71","inode":"b72fb9c2-31c9-4fc6-81f6-78b3190cecb0","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1695329331287,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"250px-Bocas2.jpg","owner":"dotcms.org.1","path":"/content.b72fb9c2-31c9-4fc6-81f6-78b3190cecb0","publishDate":1695329331287,"size":10555,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"250px-Bocas2.jpg","titleImage":"asset","type":"dotasset","url":"/content.b72fb9c2-31c9-4fc6-81f6-78b3190cecb0","working":true}}],"summary":{"affected":1,"failCount":0,"successCount":1,"time":6192}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Errors | 1 | 0 | 0 |
| Success | 1 | 0 | 0 |
| Affected | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9b909885-889b-4c3c-beb6-f39de5e40047 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 496 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"stepId": "dc3c9cd0-8467-404b-bf95-cb7df3fbc293",
"actionName": "Move Test",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse": [],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:49:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"4c9f04f7-f110-4d61-9c81-ea8a8c8a3a23","name":"Move Test","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e0b47851-99eb-471a-91b7-dc61e932580e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 93 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"actionletClass":"com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:49:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9a80ab03-0c36-404b-b072-7592e40799c4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 379 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet":{
"stName": "htmlpageasset",
"title": "PageAsset ContentAlreadyExists Move",
"url": "pageassetcontentalreadyexistsmove",
"friendlyName":"pageassetsystemtemplate",
"template": "//default/application/templates/system/",
"sortOrder": "0",
"cachettl": "100",
"hostFolder":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:49:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"pageIcon","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"SYSTEM_FOLDER","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9175a351dae9a6884089e6369ed55b8c","inode":"352ec180-e5ad-4ca1-be89-89c454fdca31","isContentlet":true,"languageId":1,"live":true,"liveInode":"352ec180-e5ad-4ca1-be89-89c454fdca31","locked":false,"mimeType":"application/dotpage","modDate":1695329346624,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/pageassetcontentalreadyexistsmove","publishDate":1695329346624,"shortyLive":"352ec180e5","shortyWorking":"352ec180e5","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/pageassetcontentalreadyexistsmove","working":true,"workingInode":"352ec180-e5ad-4ca1-be89-89c454fdca31"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Identifier must contains path | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bcd615df-40ba-4283-8ab1-700798881248 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:49:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__icon__":"pageIcon","_path_to_move":"//default/moveto","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"d4381981618af4daa59a925ee70d30c3","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9175a351dae9a6884089e6369ed55b8c","inode":"352ec180-e5ad-4ca1-be89-89c454fdca31","isContentlet":true,"languageId":1,"live":true,"liveInode":"352ec180-e5ad-4ca1-be89-89c454fdca31","locked":false,"mimeType":"application/dotpage","modDate":1695329346624,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/moveto/pageassetcontentalreadyexistsmove","publishDate":1695329346624,"shortyLive":"352ec180e5","shortyWorking":"352ec180e5","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/moveto/pageassetcontentalreadyexistsmove","working":true,"workingInode":"352ec180-e5ad-4ca1-be89-89c454fdca31"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a9fee882-fd00-4514-8a1f-2584e412e07a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 379 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet":{
"stName": "htmlpageasset",
"title": "PageAsset ContentAlreadyExists Move",
"url": "pageassetcontentalreadyexistsmove",
"friendlyName":"pageassetsystemtemplate",
"template": "//default/application/templates/system/",
"sortOrder": "0",
"cachettl": "100",
"hostFolder":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:49:28 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"pageIcon","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"SYSTEM_FOLDER","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"a59458c3-329d-4ab6-8a83-9b35211b5f35","inode":"0b38302e-833e-4605-b563-3d8a0210025b","isContentlet":true,"languageId":1,"live":true,"liveInode":"0b38302e-833e-4605-b563-3d8a0210025b","locked":false,"mimeType":"application/dotpage","modDate":1695329362812,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/pageassetcontentalreadyexistsmove","publishDate":1695329362812,"shortyLive":"0b38302e83","shortyWorking":"0b38302e83","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/pageassetcontentalreadyexistsmove","working":true,"workingInode":"0b38302e-833e-4605-b563-3d8a0210025b"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Identifier must contains path | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f69afb1a-865c-457a-8a63-0144f8854fd3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/ |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:49:28 GMT |
| Connection | close |
{"message":"Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:538)\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:481)\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:413)\n\tat com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.move(ContentletAPIInterceptor.java:650)\n\tat com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet.lambda$executeAction$5e0ff813$1(MoveContentActionlet.java:78)\n\tat io.vavr.control.Try.of(Try.java:75)\n\tat com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet.executeAction(MoveContentActionlet.java:78)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireWorkflowPostCheckin(WorkflowAPIImpl.java:2410)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.lambda$fireContentWorkflow$73(WorkflowAPIImpl.java:3368)\n\tat com.dotcms.util.ThreadContextUtil.wrapVoidNoReindex(ThreadContextUtil.java:85)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireContentWorkflow(WorkflowAPIImpl.java:3368)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2455)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0c40cb63-ab98-423a-92be-1d3e09f3a28c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 496 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"stepId": "dc3c9cd0-8467-404b-bf95-cb7df3fbc293",
"actionName": "Move Test",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse": [],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:49:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"c8ee29f3-d3ac-4e38-a819-c435d5ffb271","name":"Move Test","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["PUBLISHED","LOCKED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1c3e3178-a9ff-4076-88ba-197fb82d28e2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 93 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"actionletClass":"com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:49:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | da6a8c46-1e22-4806-81b3-de3c43f23f35 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet": {
"contentType": "webPageContent",
"title":"Test",
"body":"Test",
"contentHost":"SYSTEM_HOST"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:49:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"9073e62b78ecf287dca1114bf04c00ad","inode":"4b76a077-7e77-4298-b0c5-62224569eb02","languageId":1,"live":true,"locked":false,"modDate":1695329378299,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329378299,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.4b76a077-7e77-4298-b0c5-62224569eb02","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 90ac38ec-943d-4b09-9265-c1cc2e3d3ebc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:49:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"_path_to_move":"//default/moveto","archived":false,"baseType":"CONTENT","body":"Test","contentType":"webPageContent","folder":"d4381981618af4daa59a925ee70d30c3","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9073e62b78ecf287dca1114bf04c00ad","inode":"4b76a077-7e77-4298-b0c5-62224569eb02","languageId":1,"live":true,"locked":false,"modDate":1695329378299,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329378299,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/moveto/content.4b76a077-7e77-4298-b0c5-62224569eb02","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 97033591-8621-4527-bd14-ea99a9d7114c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:49:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"defaultFileType":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","filesMasks":"","host":{"aliases":null,"archived":false,"categoryId":"1b407535-67e3-4f21-ad00-8ef5ef492d64","contentTypeId":"855a2d72-f2f3-4169-8b04-ac5157c4380c","default":true,"dotAsset":false,"fileAsset":false,"folder":"SYSTEM_FOLDER","form":false,"host":"SYSTEM_HOST","hostThumbnail":null,"hostname":"default","htmlpage":false,"identifier":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","indexPolicyDependencies":"DEFER","inode":"1b407535-67e3-4f21-ad00-8ef5ef492d64","keyValue":false,"languageId":1,"live":true,"locked":true,"lowIndexPriority":false,"modDate":1685051810282,"modUser":"dotcms.org.1","name":"default","new":false,"owner":"dotcms.org.1","parent":true,"permissionId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","permissionType":"com.dotmarketing.portlets.contentlet.model.Contentlet","persona":false,"sortOrder":0,"structureInode":"855a2d72-f2f3-4169-8b04-ac5157c4380c","systemHost":false,"tagStorage":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","title":"default","titleImage":null,"type":"contentlet","vanityUrl":false,"variantId":"DEFAULT","versionId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true},"hostId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","idate":1695329353532,"identifier":"d4381981618af4daa59a925ee70d30c3","inode":"d4381981618af4daa59a925ee70d30c3","map":{"defaultFileType":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","filesMasks":"","hostId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695329353532,"identifier":"d4381981618af4daa59a925ee70d30c3","inode":"d4381981618af4daa59a925ee70d30c3","modDate":1695329353532,"name":"moveto","owner":null,"path":"/moveto/","showOnMenu":false,"sortOrder":0,"title":"moveto","type":"folder"},"modDate":1695329353532,"name":"moveto","owner":null,"parent":true,"path":"/moveto/","permissionId":"d4381981618af4daa59a925ee70d30c3","permissionType":"com.dotmarketing.portlets.folders.model.Folder","showOnMenu":false,"sortOrder":0,"systemFolder":false,"title":"moveto","type":"folder"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6a6216ca-af6c-42eb-b0e0-f1d6fe366c42 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
| Content-Length | 2587342 |
{"file":"resources/issue-21482-01G2AM0CE9G41M4B0P7HAYDNWT.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 81 |
| Date | Thu, 21 Sep 2023 20:50:02 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"issue-21482-01G2AM0CE9G41M4B0P7HAYDNWT.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 738a4acc-a875-4229-9ae8-c6af27c4577b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 111 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{"query":"+contentType:Issue21482 +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:02 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":38,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2022-05-05 17:06:40.823","imageMetaData":{"modDate":1651770380645,"sha256":"e2ef5df248c8face63c243fdd420e8245096ac93af233755d41ae76c20ab7dbe","length":2192322,"title":"Iron Maiden Somewhere in time front cover.jpeg","version":20220201,"isImage":true,"fileSize":2192322,"name":"Iron Maiden Somewhere in time front cover.jpeg","width":1280,"contentType":"image/jpeg","height":1280},"publishDate":"2022-05-05 17:06:40.823","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","title":"Iron Maiden","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","baseType":"CONTENT","inode":"5da9f247-3308-48fd-9f3a-00138ba0d427","archived":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"videoMetaData":{"modDate":1651770396125,"sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","length":386530,"title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"isImage":true,"fileSize":386530,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","width":1250,"contentType":"image/jpeg","height":1231},"stInode":"665acd917b55aa436b7773223e4c1ff2","contentType":"Issue21482","live":true,"owner":"dotcms.org.1","imageVersion":"/dA/5da9f247-3308-48fd-9f3a-00138ba0d427/image/Iron Maiden Somewhere in time front cover.jpeg","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","image":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/image/Iron Maiden Somewhere in time front cover.jpeg","imageContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/image","languageId":1,"url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","titleImage":"image","modUserName":"Admin User","hasLiveVersion":true,"videoVersion":"/dA/5da9f247-3308-48fd-9f3a-00138ba0d427/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","folder":"SYSTEM_FOLDER","hasTitleImage":true,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":574,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 766332d2-22bd-4318-b1fe-5c859f3183bf |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 291 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"actionName": "publish",
"comments": "Publishing content",
"contentlet":{
"title": "Iron Maiden - Somewhere in time",
"contentHost": "demo.dotcms.com",
"identifier": "1d5e378c9c6e03c9e72d5dbcb79cdb35",
"contentType":"Issue21482"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"Issue21482","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","image":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/image/Iron Maiden Somewhere in time front cover.jpeg","imageContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/image","imageMetaData":{"contentType":"image/jpeg","fileSize":2192322,"height":1280,"isImage":true,"length":2192322,"modDate":1695329391471,"name":"Iron Maiden Somewhere in time front cover.jpeg","sha256":"e2ef5df248c8face63c243fdd420e8245096ac93af233755d41ae76c20ab7dbe","title":"Iron Maiden Somewhere in time front cover.jpeg","version":20220201,"width":1280},"imageVersion":"/dA/5c1884c3-e93f-471f-92d0-58839f11a18a/image/Iron Maiden Somewhere in time front cover.jpeg","inode":"5c1884c3-e93f-471f-92d0-58839f11a18a","languageId":1,"live":true,"locked":false,"modDate":1695329403016,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329403016,"sortOrder":0,"stInode":"665acd917b55aa436b7773223e4c1ff2","title":"Iron Maiden - Somewhere in time","titleImage":"image","url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","videoMetaData":{"contentType":"image/jpeg","fileSize":386530,"height":1231,"isImage":true,"length":386530,"modDate":1695329391475,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"width":1250},"videoVersion":"/dA/5c1884c3-e93f-471f-92d0-58839f11a18a/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fcb56d21-2452-4841-b656-4eaf1d86902e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 312 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"actionName": "publish",
"comments": "Publishing content",
"contentlet":{
"title": "Iron Maiden - Somewhere in time",
"contentHost": "demo.dotcms.com",
"identifier": "1d5e378c9c6e03c9e72d5dbcb79cdb35",
"contentType":"Issue21482",
"image":null
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"Issue21482","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","inode":"93470af3-96dd-4bdb-9b33-8764c20bc670","languageId":1,"live":true,"locked":false,"modDate":1695329409231,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329409231,"sortOrder":0,"stInode":"665acd917b55aa436b7773223e4c1ff2","title":"Iron Maiden - Somewhere in time","titleImage":"video","url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","videoMetaData":{"contentType":"image/jpeg","fileSize":386530,"height":1231,"isImage":true,"length":386530,"modDate":1695329391475,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"width":1250},"videoVersion":"/dA/93470af3-96dd-4bdb-9b33-8764c20bc670/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ca25283e-08ee-4140-8981-f7ae1e374188 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"id":"e7d4e34e-5127-45fc-8123-d48b62d510e3","name":"Admin User (User)","roleKey":"dotcms.org.1","user":true},{"id":"654b0931-1027-41f7-ad4d-173115ed8ec1","name":"Current User","roleKey":"CMS Anonymous","user":false},{"id":"6b1fa42f-8729-4625-80d1-17e4ef691ce7","name":"CMS Owner","roleKey":"CMS Owner","user":false},{"id":"742c9eb3-8651-4df4-b1dc-00c8c64aee4f","name":"LDAP User","roleKey":"LDAP User","user":false},{"id":"6f9d5449-8f48-4179-a2ad-1983d6217fef","name":"Login As","roleKey":"Login As","user":false}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| length check | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ff7e0f71-2d1b-43c7-8045-9dfc97f0717d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 308 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["654b0931-1027-41f7-ad4d-173115ed8ec1"],
"WRITE":["654b0931-1027-41f7-ad4d-173115ed8ec1"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"ba3d2ef4b0d47e49a55761f0567884f2","inode":"255ebae5-0375-4349-8222-8f8379431012","languageId":1,"live":true,"locked":false,"modDate":1695329415563,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329415563,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test3-11","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.255ebae5-0375-4349-8222-8f8379431012","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6bd72dad-8d68-42a7-8477-243d6093bf5a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"bitPermission":false,"id":0,"inode":"ba3d2ef4b0d47e49a55761f0567884f2","permission":"EDIT","roleId":"654b0931-1027-41f7-ad4d-173115ed8ec1","type":"individual"},{"bitPermission":false,"id":0,"inode":"ba3d2ef4b0d47e49a55761f0567884f2","permission":"READ","roleId":"654b0931-1027-41f7-ad4d-173115ed8ec1","type":"individual"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| The permission should be EDIT | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This endpoint imports a bundle that contains an instance of a Content Type that contains 2 category fields.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2992e2da-017a-4a64-b888-174098fade09 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
| Content-Length | 10047 |
{"file":"resources/issue-22756-categories-01GCAK78NPY1JH8TRGX8SWCVN3.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 92 |
| Date | Thu, 21 Sep 2023 20:50:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"issue-22756-categories-01GCAK78NPY1JH8TRGX8SWCVN3.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Once the Content type that contains the category fields has been imported this request finds it and gets the identifier from it.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 70ce347d-8064-476a-9013-2660c49a737e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 120 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{"query":"+contentType:BikeNameAndCategory +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":40,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2022-09-06 23:12:52.124","publishDate":"2022-09-06 23:12:52.124","title":"Update Norco Revolver","baseType":"CONTENT","inode":"98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","archived":false,"bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"stInode":"e80119073f35eef47d321e74783d0d9b","contentType":"BikeNameAndCategory","make":[{"Norco":"Norco"}],"live":true,"owner":"dotcms.org.1","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","languageId":1,"url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":7,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This is basically the happy path test. We validate that the content-type can be updated passing arrays of valid categories. Then verify the response to check the categories are the expected.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c73557af-4bdc-4b54-be57-19bde500331f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 353 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":["MTB","Road"],
"make":["Norco"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"80ec88fb-7892-4028-abb9-6efee3bf81c9","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695329438376,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329438376,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This test is meant to send a request without including any of the category fields. The categories on the target content should remain the same.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3d117f12-1b44-42dd-b59d-7c1231148c07 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 300 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"2007817c-be0d-4208-af5b-f39ecf08bba2","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695329444573,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329444573,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This request is intended to fetch the instance of our content with categories and verify it remains unmodified after the last request that had excluded the category fields.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 512543ad-2ebc-4857-bfd7-5873c7bbf260 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 120 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{"query":"+contentType:BikeNameAndCategory +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":13,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2023-09-21 20:50:44.573","publishDate":"2023-09-21 20:50:44.573","title":"Update Norco Revolver","baseType":"CONTENT","inode":"2007817c-be0d-4208-af5b-f39ecf08bba2","archived":false,"bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"stInode":"e80119073f35eef47d321e74783d0d9b","contentType":"BikeNameAndCategory","make":[{"Norco":"Norco"}],"live":true,"owner":"dotcms.org.1","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","languageId":1,"url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":9,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Now we're gonna try removing the contents from one of the category fields and at the same time we're gonna ignore the second field.
The expected outcome is: Content withe the "bikeType" field cleared and the while "make" should still keep their values.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2e2c54f7-8ae6-4206-b814-fdf971ea9d0f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 316 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":[]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"e07bb047-3bbf-4ea0-abe3-769cad12d109","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695329450813,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329450813,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
In this request we want to test that when sending an invalid category name we can expect an invalid request response.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8d52d52d-ab8c-4093-ab60-79211ac142bf |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 321 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":["lol"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:50:56 GMT |
| Connection | close |
{"message":"Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier.\n\tat com.dotcms.rest.MapToContentletPopulator.getCategoriesFromStringValue(MapToContentletPopulator.java:605)\n\tat com.dotcms.rest.MapToContentletPopulator.internalFetchCategories(MapToContentletPopulator.java:490)\n\tat com.dotcms.rest.MapToContentletPopulator.fetchCategories(MapToContentletPopulator.java:458)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1593)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionByNameSinglePart(WorkflowResource.java:1535)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This request is intended to test that we can also update categories sending them on the request as a comma separated string.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c69c2ed6-4ae3-423f-a891-2a4d4e5a861c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 324 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":"MTB,Road"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:51:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"07aa528a-6d5a-4745-880a-4dabd9b883e2","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695329457053,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329457053,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
And finally we want to test that sending null as the value on the category field has the same effect as ignoring the field.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2993b8ab-b9b4-4ead-8e13-1166aa9129e9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 338 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":null,
"make":null
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:51:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"a5c45e42-2c8f-436a-88ce-1b423f618700","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695329463238,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329463238,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Imports a Bundle that includes:
* HTMLPage /blog/index
* HTMLPage /blog/destinations/costa-rica
* Contentlet [Blog] Ecotourism in Costa Rica
* Blog Detail Page /blog/blog-detail
| Header Name | Header Value |
|---|---|
| Content-Type | application/octet-stream |
| Content-Disposition | attachment |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 40ecbf44-5365-4eed-a42f-70ecf22c0998 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
| Content-Length | 13216 |
{"file":"resources/WorkflowResource/experimentType.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 57 |
| Date | Thu, 21 Sep 2023 20:51:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"experimentType.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Bundle uploaded sucessfully | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 38f49e6c-f6d1-41e0-9a8e-3dba469df549 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 486 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{ "contentlet" : {
"stInode" : "28ff0587887d2be07175b8b4fe06129f",
"languageId" : 1,
"name": "experiment 2",
"description": "exp desc",
"trafficAllocation": 50.0,
"trafficProportion": {
"variants": [
{
"name": "default",
"trafficPercentage": 50.0
},
{
"name": "variant1",
"trafficPercentage": 50.0
}
],
"type": "SPLIT_EVENLY"
}
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:51:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Experiment","description":"exp desc","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"48190c8c-42c4-46af-8d1a-0cd5db894797","hostName":"demo.dotcms.com","identifier":"d7e54d183c27885fedcb0cc139773672","inode":"01760c91-7855-45aa-be2c-dac76097f91f","languageId":1,"live":true,"locked":false,"modDate":1695329481511,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"experiment 2","owner":"dotcms.org.1","publishDate":1695329481511,"sortOrder":0,"stInode":"28ff0587887d2be07175b8b4fe06129f","title":"experiment 2","titleImage":"TITLE_IMAGE_NOT_FOUND","trafficAllocation":50.0,"trafficProportion":{"type":"SPLIT_EVENLY","variants":[{"name":"default","trafficPercentage":50.0},{"name":"variant1","trafficPercentage":50.0}]},"url":"/content.01760c91-7855-45aa-be2c-dac76097f91f","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid JSON field in response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a1d9277a-a97d-4c82-a565-ef19b37d5018 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 280 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet": {
"hostFolder":"default",
"title": "greatings.txt",
"fileName": "greatings.txt",
"fileAsset": {
"fileName": "greatings.txt",
"content": "Hello dotCMS"
},
"contentType": "FileAsset"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:51:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"txtIcon","archived":false,"baseType":"FILEASSET","contentType":"FileAsset","description":"","extension":"txt","fileAsset":"/dA/00efc056471d5dab0ffc93da187df97f/fileAsset/greatings.txt","fileAssetContentAsset":"00efc056471d5dab0ffc93da187df97f/fileAsset","fileAssetVersion":"/dA/b9b6e368-5e93-405c-a531-0f893eb31f28/fileAsset/greatings.txt","fileName":"greatings.txt","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"00efc056471d5dab0ffc93da187df97f","inode":"b9b6e368-5e93-405c-a531-0f893eb31f28","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"text/plain; charset=ISO-8859-1","modDate":1695329487765,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"greatings.txt","owner":"dotcms.org.1","parent":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","path":"/greatings.txt","publishDate":1695329487765,"size":12,"sortOrder":0,"stInode":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"greatings.txt","titleImage":"TITLE_IMAGE_NOT_FOUND","type":"file_asset","underlyingFileName":"greatings.txt","url":"/greatings.txt","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid JSON field in response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3a4fef13-b7a0-4aa3-ae78-6591663c77cc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 401 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet":{
"identifier":"no-exist",
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:51:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2691)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9c9dc11d-41de-49d7-8769-e21d97d2f71b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 396 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet":{
"inode":"no-exist",
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:51:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1362)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2677)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9f6103ff-8323-433c-9d95-87a7caeeab57 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 368 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:51:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2691)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8955f5d2-fa68-4698-aa86-eb2f82f129bd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 368 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:51:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1362)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2677)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 917b7bde-d132-451c-ae7b-54d8757b01da |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 941 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Region",
"description": "Region",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"clazz": "com.dotcms.contenttype.model.field.ImmutableTextField",
"dataType": "TEXT",
"fieldType": "Text",
"fieldTypeLabel": "Text",
"fieldVariables": [],
"fixed": false,
"iDate": 1606168746000,
"indexed": true,
"listed": true,
"modDate": 1606168746000,
"name": "Title",
"readOnly": false,
"required": true,
"searchable": true,
"sortOrder": 1,
"unique": false,
"variable": "title"
}
],
"workflow": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:51:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"Region","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1606168746000,"id":"08fafd9b64cefc16efdbc1b37ebd90f2","indexed":true,"listed":true,"modDate":1695329494000,"name":"Title","readOnly":false,"required":true,"searchable":true,"sortOrder":1,"unique":false,"variable":"title"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1695329494000,"icon":"event_note","id":"cec7ff58001803af652a64b505f84dd7","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695329500000,"indexed":false,"listed":false,"modDate":1695329500000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695329500000,"indexed":false,"listed":false,"modDate":1695329500000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1606168746000,"id":"08fafd9b64cefc16efdbc1b37ebd90f2","indexed":true,"listed":true,"modDate":1695329494000,"name":"Title","readOnly":false,"required":true,"searchable":true,"sortOrder":2,"unique":false,"variable":"title"}]}]}],"modDate":1695329494000,"multilingualable":false,"name":"Region","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"Region","versionable":true,"workflows":[]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7ed1bdcd-12dd-4690-9c13-4a4a8142fa36 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 646 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Movie",
"description": "Movies",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"clazz": "com.dotcms.contenttype.model.field.ImmutableRelationshipField",
"required": false,
"name": "Regions",
"relationships": {
"velocityVar": "Region",
"cardinality": 0
},
"searchable": false
}
],
"workflow": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:51:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"Movies","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableRelationshipField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldType":"Relationship","fieldTypeLabel":"Relationships Field","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695329501000,"id":"2c85a8ff46665079f8876154f6104d6b","indexed":true,"listed":false,"modDate":1695329501000,"name":"Regions","readOnly":false,"relationships":{"cardinality":0,"isParentField":true,"velocityVar":"Region"},"required":false,"searchable":false,"skipRelationshipCreation":false,"sortOrder":0,"unique":false,"variable":"regions"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1695329501000,"icon":"event_note","id":"a42293c7633ac02dbd7462a98deebee8","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695329507000,"indexed":false,"listed":false,"modDate":1695329507000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695329507000,"indexed":false,"listed":false,"modDate":1695329507000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableRelationshipField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldType":"Relationship","fieldTypeLabel":"Relationships Field","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695329501000,"id":"2c85a8ff46665079f8876154f6104d6b","indexed":true,"listed":false,"modDate":1695329501000,"name":"Regions","readOnly":false,"relationships":{"cardinality":0,"isParentField":true,"velocityVar":"Region"},"required":false,"searchable":false,"skipRelationshipCreation":false,"sortOrder":2,"unique":false,"variable":"regions"}]}]}],"modDate":1695329501000,"multilingualable":false,"name":"Movie","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"Movie","versionable":true,"workflows":[]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 51061aa1-00aa-455c-b6f0-68cbf5dcdf17 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 113 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet": {
"languageId": 1,
"title": "Africa",
"contentType": "Region"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:51:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Region","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"1d7223b90bfdf9e35b5d449a64900d99","inode":"23f4bd5f-ec53-48aa-a8f2-a55d196ba50d","languageId":1,"live":true,"locked":false,"modDate":1695329506735,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329506735,"sortOrder":0,"stInode":"cec7ff58001803af652a64b505f84dd7","title":"Africa","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.23f4bd5f-ec53-48aa-a8f2-a55d196ba50d","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d0dbbd7b-11e5-4669-8928-236ea03b3e1e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 111 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet": {
"languageId": 1,
"title": "Asia",
"contentType": "Region"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:52:02 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Region","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"b3672a4817e4eb3b9e1fa6c48496bf12","inode":"7d6aa5d9-b151-4691-b799-84e604c016c8","languageId":1,"live":true,"locked":false,"modDate":1695329514398,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329514398,"sortOrder":0,"stInode":"cec7ff58001803af652a64b505f84dd7","title":"Asia","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.7d6aa5d9-b151-4691-b799-84e604c016c8","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 89e6c6b5-f5e7-4fc1-9e8a-87daa7870caa |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 85 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"contentlet": {
"languageId": 1,
"contentType": "Movie"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:52:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Movie","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"c128462bc0895b9e982405b536ac10e6","inode":"043badc9-8f24-47f9-a871-c33dc3c8697e","languageId":1,"live":true,"locked":false,"modDate":1695329522445,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329522445,"sortOrder":0,"stInode":"a42293c7633ac02dbd7462a98deebee8","title":"c128462bc0895b9e982405b536ac10e6","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.043badc9-8f24-47f9-a871-c33dc3c8697e","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7f88d6c0-d6f3-4902-884a-64fbdbdb7473 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 79 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{"contentlet": {
"regions":"+contentType:Region +Region.title:*Asia*"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:52:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"baseType":"CONTENT","contentType":"Movie","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"c128462bc0895b9e982405b536ac10e6","inode":"b801d226-3f79-4737-901e-65bea76a436b","languageId":1,"live":true,"locked":true,"modDate":1695329530557,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329530557,"sortOrder":0,"stInode":"a42293c7633ac02dbd7462a98deebee8","title":"c128462bc0895b9e982405b536ac10e6","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.043badc9-8f24-47f9-a871-c33dc3c8697e","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9884c881-c05a-492b-afa9-22edc19c3a13 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 140 |
| Cookie | JSESSIONID=F766661AAE8B2ED9699F237CD5E8311D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5MTk1ODYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjkxOTgsImlzcyI6IjE4YTRiZTFlYTQiLCJleHAiOjE2OTU0MTU1OTh9._u4_yCqSY9S8kRqdgMOOqtf1QHP3BnBxmsEGDOaxi5I |
{
"query": "+contentType:Movie +identifier:c128462bc0895b9e982405b536ac10e6",
"sort": "modDate desc",
"limit": 20,
"offset": 0,
"depth": 1
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 9e69d281cdea|0d86d7ccf5 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:52:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":20,"jsonObjectView":{"contentlets":[{"hostName":"System Host","modDate":"2023-09-21 20:52:10.557","publishDate":"2023-09-21 20:52:10.557","title":"c128462bc0895b9e982405b536ac10e6","baseType":"CONTENT","inode":"b801d226-3f79-4737-901e-65bea76a436b","archived":false,"host":"SYSTEM_HOST","working":true,"locked":true,"stInode":"a42293c7633ac02dbd7462a98deebee8","contentType":"Movie","live":true,"owner":"dotcms.org.1","identifier":"c128462bc0895b9e982405b536ac10e6","languageId":1,"url":"/content.043badc9-8f24-47f9-a871-c33dc3c8697e","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note","regions":[{"hostName":"System Host","modDate":"2023-09-21 20:51:54.398","publishDate":"2023-09-21 20:51:54.398","title":"Asia","baseType":"CONTENT","inode":"7d6aa5d9-b151-4691-b799-84e604c016c8","archived":false,"host":"SYSTEM_HOST","working":true,"locked":false,"stInode":"cec7ff58001803af652a64b505f84dd7","contentType":"Region","live":true,"owner":"dotcms.org.1","identifier":"b3672a4817e4eb3b9e1fa6c48496bf12","languageId":1,"url":"/content.7d6aa5d9-b151-4691-b799-84e604c016c8","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]}]},"queryTook":5,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Check relationships | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|